public AccountController(UserManager <User> userManager, SignInManager <User> signInManager, RoleManager <IdentityRole> roleManager, ToiDb _db)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _roleManager   = roleManager;
     db             = _db;
 }
 public HomeController(RoleManager <IdentityRole> roleManager, UserManager <User> userManager, SignInManager <User> signInManager, ToiDb _db)
 {
     _roleManager   = roleManager;
     _userManager   = userManager;
     _signInManager = signInManager;
     db             = _db;
 }
 public AdminController(ToiDb _db, UserManager <User> userManager, SignInManager <User> signInManager, RoleManager <IdentityRole> roleManager)
 {
     db             = _db;
     _userManager   = userManager;
     _signInManager = signInManager;
     _roleManager   = roleManager;
 }
 public ManageController(UserManager <User> userManager,
                         SignInManager <User> signInManager,
                         ToiDb _db)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     db             = _db;
 }
Example #5
0
 public CustomManageController(SignInManager <User> signInManager, UserManager <User> userManager, ToiDb _db)
 {
     _signInManager = signInManager;
     _userManager   = userManager;
     db             = _db;
 }