public PaymentAccountWorkflow(IDbContext context) { _ctx = context; _transactionBatchService = new TransactionBatchService(_ctx, _logger); _emailService = new DomainServices.EmailService(_ctx); _applicationService = new ApplicationService(_ctx); _smsLogService = new SMSLogService(_ctx); _smsService = new DomainServices.SMSService(_applicationService, _smsLogService, _ctx, _logger); }
public PaymentAccountWorkflow(DomainServices.ApplicationService applicationServices, DomainServices.Interfaces.IEmailService emailService, DomainServices.TransactionBatchService transactionBatchService, DomainServices.SMSLogService smsLogService, DomainServices.SMSService smsService) { _ctx = new Context(); _transactionBatchService = transactionBatchService; _emailService = emailService; _applicationService = applicationServices; _smsLogService = smsLogService; _smsService = smsService; }