public PenjualanBL(IPenjualanDal injPenjualanDal, IPenjualan2Dal injPenjualan2Dal, IBrgBL injBrgBL, IParameterNoBL injParamNoBL, ICustomerDal injCustomerDal) { _penjualanDal = injPenjualanDal; _penjualan2Dal = injPenjualan2Dal; _paramNoBL = injParamNoBL; _brgBL = injBrgBL; _customerDal = injCustomerDal; }
public PenjualanBL() { _penjualanDal = new PenjualanDal(); _penjualan2Dal = new Penjualan2Dal(); _penjualanBayarDal = new PenjualanBayarDal(); _paramNoBL = new ParameterNoBL(); _brgBL = new BrgBL(); _jenisBayarDal = new JenisBayarDal(); _customerDal = new CustomerDal(); SearchFilter = new SearchFilter { IsDate = true, Date1 = DateTime.Now, Date2 = DateTime.Now }; }
public BPStokBL() { _bpStokDal = new BPStokDal(); _bpStokDetilDal = new BPStokDetilDal(); _brgStokHargaBL = new BrgStokHargaBL(); _brgDal = new BrgDal(); _penjualanBL = new PenjualanBL(); _stokAdj2Dal = new StokAdjustment2Dal(); _penjualan2Dal = new Penjualan2Dal(); _receiptDetilDal = new ReceiptDetilDal(); _penjualanDal = new PenjualanDal(); _stokAdjDal = new StokAdjustmentDal(); _receiptDal = new ReceiptDal(); SearchFilter = new SearchFilter { IsDate = false }; }