Exemple #1
0
 public BaseController(IT_CategoryService cateService)
 {
     ViewData["Categories"] = cateService.LoadEntities(c => true).ToList();
 }
 public HomeController(IT_CategoryService service) : base(service)
 {
 }
Exemple #3
0
 public ItemController(IT_CategoryService service, IT_ProductsService prodService) : base(service)
 {
     base.prodService = prodService;
 }