Exemplo n.º 1
0
 public IndexModel(
     UserManager <IdentityUser> userManager,
     SignInManager <IdentityUser> signInManager,
     IEmailSender emailSender,
     IEmailConfigurations _emailCofigurations)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _emailSender   = new EmailService(_emailCofigurations);
 }
 public RegisterModel(
     UserManager <IdentityUser> userManager,
     SignInManager <IdentityUser> signInManager,
     ILogger <RegisterModel> logger,
     IEmailConfigurations _emailConfigurations)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = logger;
     _emailService  = new EmailService(_emailConfigurations);
 }
Exemplo n.º 3
0
 public EmailService(IEmailConfigurations _emailConfiguration)
 {
     _EmailConfiguration = _emailConfiguration;
 }