Пример #1
0
 public ProductController(IRepositoryProductBL repositoryProdcutBL,
                          IRepositoryCategoryBL repositoryCategoryBL,
                          IRepositorySupplierBL repositorySupplierBL)
 {
     iRepositoryProductBL  = repositoryProdcutBL;
     iRepositoryCategoryBL = repositoryCategoryBL;
     iRepositorySupplierBL = repositorySupplierBL;
 }
Пример #2
0
 public CategoryController(IRepositoryCategoryBL repositoryCategoryBL)
 {
     iRepositoryCategoryBL = repositoryCategoryBL;
 }