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