-
-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Description
In asynchronous programming there is a very useful async method: ToListAsync();
However, it comes from EntityFramework. So basically if we use the template here and call .All(); method in the Service and after that call .ToListAsync() in the service - then we will create a dependency between the Service and EF.
Perhaps I should add a wrapper method for this in the generic repository like I have done it here:
Or maybe there is a better way? Let me know your thoughts!
Metadata
Metadata
Assignees
Labels
No labels