public RegisterModel( UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, ILogger <RegisterModel> logger, IEmailSender emailSender, IEmailListRepository emailListRepository) { _userManager = userManager; _signInManager = signInManager; _logger = logger; _emailSender = emailSender; this.emailListRepository = emailListRepository; }
public HomeController(ILogger <HomeController> logger, IHostingEnvironment hostingEnvironment, IRecaptchaService recaptcha, IConfiguration config, IUnitOfWork unitOfWork) { _logger = logger; _hostingEnvironment = hostingEnvironment; _recaptcha = recaptcha; _config = config; _unitOfWork = unitOfWork; _emailListRepository = new EmailListRepository(_unitOfWork); }
public EmailController(ILogger <EmailController> logger, IUnitOfWork unitOfWork) { _logger = logger; _unitOfWork = unitOfWork; _emailListRepository = new EmailListRepository(_unitOfWork); }