public BoaController(BoaIntegrationDbContext context, IOptions <BoaOptions> boaOptions, IEmailService emailSender, IOptions <EmailSettings> emailSettings) { _context = context; _boaOptions = boaOptions.Value; _emailSender = emailSender; _emailSettings = emailSettings.Value; }
public AccountController( BoaIntegrationDbContext context, UserManager <User> userManager, SignInManager <User> signInManager, IEmailService emailSender, IOptions <EmailSettings> emailSettings, IOptions <BoaOptions> boaOptions, ILogger <AccountController> logger) { _context = context; _userManager = userManager; _signInManager = signInManager; _emailSender = emailSender; _emailSettings = emailSettings.Value; _boaOptions = boaOptions.Value; _logger = logger; }
public HomeController(BoaIntegrationDbContext context, IOptions <BoaOptions> boaOptions) { _context = context; _boaOptions = boaOptions.Value; }