public LoginWithRecoveryCodeModel(SignInManager <IdentityUser> signInManager, ILogger <LoginWithRecoveryCodeModel> logger, IProductVMService productVMService, ILoginCartManagerService loginCartManagerService) { _signInManager = signInManager; _logger = logger; _productVMService = productVMService; _loginCartManagerService = loginCartManagerService; }
public IndexModel(IProductVMService productVMService, ILoginCartManagerService loginCartManagerService, StoreDbContext db, IHttpContextAccessor httpContextAccessor) { _productVMService = productVMService; _loginCartManagerService = loginCartManagerService; _db = db; user = httpContextAccessor.HttpContext.User.FindFirst(ClaimTypes.NameIdentifier); }
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; }