示例#1
0
 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);
 }
示例#2
0
 public OTPNotifyService(
     IDBService dbService,
     IAppSettingService appSettingService,
     ISMSNotifyService smsService,
     IEmailNotifyService emailService,
     ILogger logger
     )
 {
     _logger            = logger;
     _smsService        = smsService;
     _dbService         = dbService;
     _emailService      = emailService;
     _appSettingService = appSettingService;
 }
示例#3
0
 public NotifyController(IEmailNotifyService emailNotifyService)
 {
     _emailNotifyService = emailNotifyService;
 }