public RegistrationWorkflow()
 {
     emailService = new DomainServices.EmailService(_ctx);
     applicationServices = new DomainServices.ApplicationService();
     smsLogServices = new SMSLogService(_ctx);
     smsService = new DomainServices.SMSService(applicationServices, smsLogServices, _ctx, logger);
     transactionBatchService = new DomainServices.TransactionBatchService(_ctx, logger);
 }
Beispiel #2
0
 public RegistrationWorkflow()
 {
     emailService            = new DomainServices.EmailService(_ctx);
     applicationServices     = new DomainServices.ApplicationService();
     smsLogServices          = new SMSLogService(_ctx);
     smsService              = new DomainServices.SMSService(applicationServices, smsLogServices, _ctx, logger);
     transactionBatchService = new DomainServices.TransactionBatchService(_ctx, logger);
 }
 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 MessageWorkflow(IDbContext context)
 {
     _ctx = new 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);
 }
Beispiel #5
0
 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 MessageWorkflow(IDbContext context)
 {
     _ctx = new 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 MessageWorkflow(DomainServices.ApplicationService applicationServices, DomainServices.EmailService emailService,
     DomainServices.TransactionBatchService transactionBatchService, DomainServices.SMSLogService smsLogService,
     DomainServices.SMSService smsService)
 {
     _transactionBatchService = transactionBatchService;
     _emailService = emailService;
     _applicationService = applicationServices;
     _smsLogService = smsLogService;
     _smsService = smsService;
 }
Beispiel #8
0
 public UserWorkflow(IDbContext context)
 {
     _ctx                    = context;
     logger                  = LogManager.GetCurrentClassLogger();
     emailService            = new DomainServices.EmailService(_ctx);
     applicationServices     = new DomainServices.ApplicationService();
     smsLogServices          = new SMSLogService(_ctx);
     smsService              = new DomainServices.SMSService(applicationServices, smsLogServices, _ctx, logger);
     transactionBatchService = new DomainServices.TransactionBatchService(_ctx, logger);
 }
 public UserWorkflow(IDbContext context)
 {
     _ctx = context;
     logger = LogManager.GetCurrentClassLogger();
     emailService = new DomainServices.EmailService(_ctx);
     applicationServices = new DomainServices.ApplicationService();
     smsLogServices = new SMSLogService(_ctx);
     smsService = new DomainServices.SMSService(applicationServices, smsLogServices, _ctx, logger);
     transactionBatchService = new DomainServices.TransactionBatchService(_ctx, logger);
 }
 public MessageWorkflow(DomainServices.ApplicationService applicationServices, DomainServices.EmailService emailService,
                        DomainServices.TransactionBatchService transactionBatchService, DomainServices.SMSLogService smsLogService,
                        DomainServices.SMSService smsService)
 {
     _transactionBatchService = transactionBatchService;
     _emailService            = emailService;
     _applicationService      = applicationServices;
     _smsLogService           = smsLogService;
     _smsService = smsService;
 }
 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;
 }
Beispiel #12
0
 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;
 }
Beispiel #13
0
        static void Main(string[] args)
        {
            Context _ctx   = new Context();
            Logger  logger = LogManager.GetCurrentClassLogger();

            DomainServices.ApplicationService applicationServices = new DomainServices.ApplicationService();
            DomainServices.SMSLogService      smsLogService       = new DomainServices.SMSLogService(_ctx);
            DomainServices.SMSService         smsService          = new DomainServices.SMSService(applicationServices, smsLogService, _ctx, logger);

            try
            {
                smsService.SendSMS(Guid.Parse("BDA11D91-7ADE-4DA1-855D-24ADFE39D174"), "2892100266", "0BE0EFAA-13F1-4830-9547-CF1203A681C1");
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Beispiel #14
0
        static void Main(string[] args)
        {
            Context _ctx = new Context();
            Logger logger = LogManager.GetCurrentClassLogger();

            DomainServices.ApplicationService applicationServices = new DomainServices.ApplicationService();
            DomainServices.SMSLogService smsLogService = new DomainServices.SMSLogService(_ctx);
            DomainServices.SMSService smsService = new DomainServices.SMSService(applicationServices, smsLogService, _ctx, logger);

            try
            {
                smsService.SendSMS(Guid.Parse("BDA11D91-7ADE-4DA1-855D-24ADFE39D174"), "2892100266", "0BE0EFAA-13F1-4830-9547-CF1203A681C1");
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }