// private ApplicationDbContext db; public UserMangmentController(UserMangmentService service, UserManager <ApplicationUser> usermanager) { UserService = service; UserManager = usermanager; }
public UserMangmentController(UserMangmentService service, UserManager <ApplicationUser> usermanager, ApplicationDbContext CurrentContext) { UserService = service; UserManager = usermanager; db = CurrentContext; }