public CommonSmsService(ISystemParameters systemParameters, ILogService logService, IUnitOfWork unitOfWork) { this.systemParameters = systemParameters; this.logService = logService; this.unitOfWork = unitOfWork; this.tradeService = new TradeService(unitOfWork, logService); this.uniqueJobList = new UniqueJobList(systemParameters, logService, unitOfWork); }
public EfSmsBackgroundJob(ISystemParameters systemParameters, IUnitOfWork unitOfWork, ILogService logService) { System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US"); System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-US"); this.systemParameters = systemParameters; this.unitOfWork = unitOfWork; this.logService = logService; this.tradeService = new TradeService(unitOfWork, logService); this.uniqueJobList = new UniqueJobList(systemParameters, logService, unitOfWork); this.sendMessageStatisticService = new SendMessageStatisticService(logService, unitOfWork); }