public EmailService(SmtpClientWrapper smtpClient = null, ConfigurationService configurationService = null, CurrentHttpContextWrapper currentHttpContextWrapper = null) { _currentHttpContextWrapper = currentHttpContextWrapper ?? new CurrentHttpContextWrapper(); _smtpClient = smtpClient ?? new SmtpClientWrapper(); _configurationService = configurationService ?? new ConfigurationService(); }
public EmailService(SmtpClientWrapper smtpClient = null, ConfigurationService configurationService = null, CurrentHttpContextWrapper currentHttpContextWrapper = null) { _currentHttpContextWrapper = currentHttpContextWrapper ?? new CurrentHttpContextWrapper(); _smtpClient = smtpClient ?? new SmtpClientWrapper(); _configurationService = configurationService ?? new ConfigurationService(); }