public ActionResult Category(int id) { ViewBag.Category = CategoryRepo.GetAllForHome(); ViewBag.Book = BookRepo.GetAllBook(id); ViewBag.Message = CategoryRepo.GetCategoryName(id); return(View()); }