public OrderDetailsController(IAddressBookService addressBookService, IOrdersService ordersService, ICustomerService customerService, IOrderRepository orderRepository, IContentLoader contentLoader, ICartService cartService, IPurchaseOrderFactory purchaseOrderFactory) { _addressBookService = addressBookService; _ordersService = ordersService; _customerService = customerService; _orderRepository = orderRepository; _contentLoader = contentLoader; _cartService = cartService; _purchaseOrderFactory = purchaseOrderFactory; }
public OrdersService(IOrderRepository orderRepository, ICustomerService customerService, IPurchaseOrderFactory purchaseOrderFactory, CustomerContext customerContext, IPlacedPriceProcessor placedPriceProcessor, IPromotionEngine promotionEngine, IOrderGroupFactory orderGroupFactory) { _orderRepository = orderRepository; _customerService = customerService; _purchaseOrderFactory = purchaseOrderFactory; _customerContext = customerContext; _placedPriceProcessor = placedPriceProcessor; _promotionEngine = promotionEngine; _orderGroupFactory = orderGroupFactory; }