public SubmittedUserProcessor(IDbContext context) { _ctx = context; _logger = LogManager.GetCurrentClassLogger(); _formattingService = new FormattingServices(); _transactionBatchService = new TransactionBatchService(_ctx, _logger); _validationService = new ValidationService(_logger); _smsService = new SMSService(_ctx); _emailService = new EmailService(_ctx); _userService = new UserService(_ctx); }
public SubmittedRequestMessageProcessor(IDbContext context) { _ctx = context; _logger = LogManager.GetCurrentClassLogger(); _formattingService = new FormattingServices(); _transactionBatchService = new TransactionBatchService(_ctx, _logger); _validationService = new ValidationService(_logger); _smsService = new SMSService(_ctx); _emailService = new EmailService(_ctx); _userService = new UserService(_ctx); _messageService = new MessageServices(_ctx); _fromAddress = "*****@*****.**"; }