Пример #1
0
 public ActionResult Category(int id)
 {
     ViewBag.subCategories = _subCategoryService.GetSubCategoriesByCategoryID(id);
     return(View(_bookService.GetBooksByCategoryID(id)));
 }