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