public SalesOrderController(IOrderService orderService, IInventoryService inventoryService, ICustomerPriceService customerPriceService, ICustomerService customerService) { this._orderService = orderService; this._inventoryService = inventoryService; this._customerPriceService = customerPriceService; this._customerService = customerService; }
public CartHandler(ICartFactory cartFactory, IOrderGroupFactory orderGroupFactory, IContentLoader contentLoader, ReferenceConverter referenceConverter, ICustomerPriceService customerPriceService, IOrderGroupCalculator orderGroupCalculator) { _cartFactory = cartFactory; _orderGroupFactory = orderGroupFactory; _contentLoader = contentLoader; _referenceConverter = referenceConverter; _customerPriceService = customerPriceService; _orderGroupCalculator = orderGroupCalculator; }
protected override void Dispose(bool disposing) { if (_orderService.IsNull()) { _orderService = null; } if (_inventoryService.IsNull()) { _inventoryService = null; } if (_customerPriceService.IsNull()) { _customerPriceService = null; } if (_customerService.IsNull()) { _customerService = null; } base.Dispose(disposing); }
public ProductHandle(IRelationRepository relationRepository, IContentLoader contentLoader, ICustomerPriceService customerPriceService) { _relationRepository = relationRepository; _contentLoader = contentLoader; _customerPriceService = customerPriceService; }