Example #1
0
 public LoginModel(SignInManager <IdentityUser> signInManager, InventoryManagementSystem.Data.ApplicationDbContext context,
                   ILogger <LoginModel> logger,
                   UserManager <IdentityUser> userManager)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = logger;
     _context       = context;
 }
Example #2
0
 public CreateModel(InventoryManagementSystem.Data.ApplicationDbContext context)
 {
     _context = context;
 }
Example #3
0
 public IndexModel(ILogger <IndexModel> logger, InventoryManagementSystem.Data.ApplicationDbContext context, Microsoft.AspNetCore.Identity.UserManager <IdentityUser> userManager)
 {
     _logger      = logger;
     _context     = context;
     _userManager = userManager;
 }