Example #1
0
 public PurchaseBL()
 {
     _dep = new PurchaseBLDependencyContainer
     {
         PurchaseDal      = new PurchaseDal(),
         PurchaseDetilDal = new PurchaseDetilDal(),
         BrgDal           = new BrgDal(),
         SupplierDal      = new SupplierDal(),
         ParamNoBL        = new ParameterNoBL(),
     };
     SearchFilter = new SearchFilter
     {
         IsDate = true,
         Date1  = DateTime.Now,
         Date2  = DateTime.Now
     };
 }
Example #2
0
 public PurchaseBL(PurchaseBLDependencyContainer inj)
 {
     _dep = inj;
 }