示例#1
0
 public EmailSmsAppService(IEmailSmsService emailSmsService, ICurrentContext context, ICommonService commonService, ILogger <EmailSmsAppService> logger)
 {
     _emailSmsService = emailSmsService;
     _context         = context;
     _commonService   = commonService;
     _logger          = logger;
 }
示例#2
0
 public CustomerAppService(IMenuService menuService,
                           ILocaleStringResourceCacheStorage localeStringResourceCacheStorage,
                           ILogger <CustomerAppService> logger,
                           ICustomerService customerService,
                           ICommonService commonService,
                           ICurrentContext currentContext, IRoleService roleService, IEmailSmsService emailSmsService)
     : base(menuService, localeStringResourceCacheStorage, currentContext, logger)
 {
     _customerService = customerService;
     _commonService   = commonService;
     _roleService     = roleService;
     _emailSmsService = emailSmsService;
 }
 public EmailOrSmsCommandHandler(IEmailSmsService emailSmsService, ISendMailClient sendMailClient, ITemplateRenderer templateRenderer)
 {
     _emailSmsService  = emailSmsService;
     _sendMailClient   = sendMailClient;
     _templateRenderer = templateRenderer;
 }
示例#4
0
 public CustomerCommandHandler(ICustomerService customerService, ICommonService commonService, IEmailSmsService emailSmsService)
 {
     _customerService = customerService;
     _commonService   = commonService;
     _emailSmsService = emailSmsService;
 }