예제 #1
0
 public ProductsController() 
 {
     _repositoryManager = new RepositoryManager();
     _categoryService = new CategoryService(_repositoryManager);
     _bannerService = new BannerService(_repositoryManager);
 }
예제 #2
0
 public CategoriesController()
 {
     _categoryService = new CategoryService();
     _repositoryManager = new RepositoryManager();
 }