public SalesController( IPurchaseOrderProvider purchaseOrderProvider, ISaleFactory saleFactory) { _purchaseOrderProvider = purchaseOrderProvider; _saleFactory = saleFactory; }
public DefaultSaleFactory( IMarketService marketService, IOrderGroupFactory orderGroupFactory, IKachingOrderNumberGenerator orderNumberGenerator, IPurchaseOrderProvider purchaseOrderProvider) { _marketService = marketService; _orderGroupFactory = orderGroupFactory; _orderNumberGenerator = orderNumberGenerator; _purchaseOrderProvider = purchaseOrderProvider; }