I\'m getting this error in Login Controller.
InvalidOperationException: Unable to resolve service for type \'Microsoft.AspNetCore.Identity.UserManager
You need to update your Statup.cs class with below
services.AddIdentity() .AddEntityFrameworkStores();
Here : ApplicationUser is my custom model class.