Beispiel #1
0
 public BannersController()
 {
     _repositoryManager = new RepositoryManager();
     _bannerService = new BannerService(_repositoryManager);
 }
Beispiel #2
0
 public ProductsController() 
 {
     _repositoryManager = new RepositoryManager();
     _categoryService = new CategoryService(_repositoryManager);
     _bannerService = new BannerService(_repositoryManager);
 }