Beispiel #1
0
 public UserMessageNotifier(string email, string subject, string content)
 {
     _email         = email;
     _subject       = subject;
     _content       = content;
     _unitOfWork    = new AppDbContext();
     _emailyService = new EmailService(new MessageServiceAccountDataService(_unitOfWork));
 }
 public OrderWebClientService(IWorkContext workContext, IDiscountWebClientService discountWebClientService,
                              ICurrentUserService currentUserService, IOrderDataService orderDataService, IUnitOfWork unitOfWork,
                              IEmailyService emailyService, IAppUserManager userManager, IOrderItemDataService orderItemDataService)
 {
     _workContext = workContext;
     _discountWebClientService = discountWebClientService;
     _currentUserService       = currentUserService;
     _orderDataService         = orderDataService;
     _unitOfWork           = unitOfWork;
     _userManager          = userManager;
     _orderItemDataService = orderItemDataService;
 }
Beispiel #3
0
 public ProductStockQuantityNotifier(Product product, string emailAddress)
 {
     _product       = product;
     _emailAddress  = emailAddress;
     _emailyService = Container.GetInstance <IEmailyService>();
 }
 public WebSiteOwnerOrderNotifier(IEmailyService emailService, IAppUserManager userManager)
 {
     _emailService = emailService;
     _userManager  = userManager;
 }
Beispiel #5
0
 public CustommerOrderNotifier(IEmailyService emailService)
 {
     _emailService = emailService;
 }