public LoginWithRecoveryCodeModel(SignInManager <IdentityUser> signInManager, ILogger <LoginWithRecoveryCodeModel> logger, IProductVMService productVMService, ILoginCartManagerService loginCartManagerService)
 {
     _signInManager           = signInManager;
     _logger                  = logger;
     _productVMService        = productVMService;
     _loginCartManagerService = loginCartManagerService;
 }
Example #2
0
 public IndexModel(IProductVMService productVMService, ILoginCartManagerService loginCartManagerService, StoreDbContext db, IHttpContextAccessor httpContextAccessor)
 {
     _productVMService        = productVMService;
     _loginCartManagerService = loginCartManagerService;
     _db  = db;
     user = httpContextAccessor.HttpContext.User.FindFirst(ClaimTypes.NameIdentifier);
 }
Example #3
0
 public LoginModel(SignInManager <IdentityUser> signInManager,
                   ILogger <LoginModel> logger,
                   UserManager <IdentityUser> userManager,
                   ICaptchaValidator captchaValidator,
                   IProductVMService productVMService,
                   ILoginCartManagerService loginCartManagerService)
 {
     _userManager             = userManager;
     _signInManager           = signInManager;
     _logger                  = logger;
     _captchaValidator        = captchaValidator;
     _productVMService        = productVMService;
     _loginCartManagerService = loginCartManagerService;
 }