public NotifierController(IResponseBuilder responseBuilder, IDBService dbService, IHttpContextProxy httpContextProxy, IAppSettingService appSettingService, ILogger logger) { _responseBuilder = responseBuilder; _dbService = dbService; _httpContextProxy = httpContextProxy; _logger = logger; _appSettingService = appSettingService; _emailService = new EmailNotifyService(dbService, appSettingService, logger); _smsService = new SMSNotifyService(dbService, appSettingService, logger); _oTPNotifyService = new OTPNotifyService(dbService, appSettingService, _smsService, _emailService, logger); }
public OTPNotifyService( IDBService dbService, IAppSettingService appSettingService, ISMSNotifyService smsService, IEmailNotifyService emailService, ILogger logger ) { _logger = logger; _smsService = smsService; _dbService = dbService; _emailService = emailService; _appSettingService = appSettingService; }