Beispiel #1
0
 public OrderFacade(IUnitOfWork unitOfWork,
                    IOrderEmailService orderEmailService,
                    IErrorLogService errorLogService,
                    IOrderItemService orderItemService)
 {
     _unitOfWork        = unitOfWork;
     _orderEmailService = orderEmailService;
     _errorLogService   = errorLogService;
     _orderItemService  = orderItemService;
 }
Beispiel #2
0
 public OrderService(IRepository <Order> orderRepository,
                     IRepository <Cart> cartRepository,
                     ICouponService couponService,
                     IRepository <CartItem> cartItemRepository,
                     ITaxService taxService,
                     IShippingPriceService shippingPriceService,
                     IRepository <UserAddress> userAddressRepository,
                     IOrderEmailService orderEmailService)
 {
     _orderRepository       = orderRepository;
     _cartRepository        = cartRepository;
     _couponService         = couponService;
     _cartItemRepository    = cartItemRepository;
     _taxService            = taxService;
     _shippingPriceService  = shippingPriceService;
     _userAddressRepository = userAddressRepository;
     _orderEmailService     = orderEmailService;
 }
 public AfterOrderCreatedSendEmailHanlder(IOrderEmailService orderEmailService)
 {
     _orderEmailService = orderEmailService;
 }
Beispiel #4
0
 public OrderService(IRepositoryQuery <OrderSendErrorView> orderRepository,
                     IOrderEmailService orderEmailService)
 {
     _orderRepository   = orderRepository;
     _orderEmailService = orderEmailService;
 }