ViewModels in eShopOnWeb

S.net 1 Reputation point
2021-06-22T12:48:56.397+00:00

Hi
I try to use eShopOnWeb application sample in my application and I have a question.
As I understand eShopOnWeb repositories return none IQueryable results. But if I use View Models, should my repository return IQueryable, then my service project this query to necessary view model, and send received data or result to presentation layer?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,127 questions
{count} votes