public ProductController(IProductsBL _repo)
 {
     this.repo = _repo;
 }
Пример #2
0
 public CartController()
 {
     this._cartItemsbl = new CartItemBL();
     this._productsbl  = new ProductsBL();
 }
Пример #3
0
 public HomeController()
 {
     this._categoriesbl = new CategoriesBL();
     this._productsbl   = new ProductsBL();
 }
Пример #4
0
 public PurchaseController(IPurchasesBL _repo, IProductsBL _prorepo, IPurcheaseDetailsBL _prodrepo)
 {
     this.repo     = _repo;
     this.prorepo  = _prorepo;
     this.prodrepo = _prodrepo;
 }
Пример #5
0
 public SaleController(ISalesBL _repo, IProductsBL _prorepo)
 {
     this.repo    = _repo;
     this.prorepo = _prorepo;
 }
Пример #6
0
 public ProductsController(IProductsBL productBl)
 {
     _productBL = productBl;
 }