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