Example #1
0
 public SaleOrderItemServices(IRepositoryBase <SaleOrderItem> _db, IRepositoryBase <SaleOrder> _dbOrder, IRepositoryBase <Product> _dbProduct, IRepositoryBase <Inventory> _dbStock, IRepositoryBase <Taxe> _dbTaxe, IRepositoryBase <TaxeOrder> _dbTaxeOrder)
 {
     db          = _db;
     dbSaleOrder = new SaleOrderServices(_dbOrder);
     dbProduct   = new ProductServices(_dbProduct, _dbTaxe);
     dbStock     = new StockEvent(_dbStock, _db, _dbProduct);
     dbTaxeOrder = _dbTaxeOrder;
 }
 public PaymentOrderServices(IRepositoryBase <PaymentOrder> _db, IRepositoryBase <SaleOrder> _dbSaleOrder)
 {
     db          = _db;
     dbSaleOrder = new SaleOrderServices(_dbSaleOrder);
 }