Can somebody tell if there is a way to get all users async in ASP.NET Identity 2?
In the UserManager.Users
there is nothing async or find all async or somwething like that
Can somebody tell if there is a way to get all users async in ASP.NET Identity 2?
In the UserManager.Users
there is nothing async or find all async or somwething like that
There is no way to do this asynchronously with the
UserManager
class directly. You can either wrap it in your own asynchronous method: (this might be a bit evil)Or use the
ToListAsync
extension method:Or use your context directly: