Exemplo n.º 1
0
 public EmailsService(IOptions <EnvironmentConfig> environmentConfig, ICipherService cipherService, IEmailHelper emailhelper, IEmailsValidation emailsValidation)
 {
     _environmentConfig = environmentConfig.Value;
     _cipherService     = cipherService;
     _emailhelper       = emailhelper;
     _emailsValidation  = emailsValidation;
 }
 public EmailsService(Context ffsaDbContext, DbContextOptions <Context> options, IOptions <EnvironmentConfig> environmentConfig, ICipherService cipherService, IEmailHelper emailhelper, IEmailsValidation emailsValidation)
 {
     _ffsaDbContext     = ffsaDbContext;
     _environmentConfig = environmentConfig.Value;
     _cipherService     = cipherService;
     _emailhelper       = emailhelper;
     _smtpClient        = emailhelper.smtpClient();
     _emailsValidation  = emailsValidation;
 }
Exemplo n.º 3
0
 public LoginsValidation(Context ffsaDbContext, IEmailsValidation emailsValidation)
 {
     _ffsaDbContext    = ffsaDbContext;
     _emailsValidation = emailsValidation;
 }