// // Products/Category/1 public void Category(int id) { var category = northwind.GetCategoryById(id); PropertyBag["category"] = category; base.RenderView("List"); }
// // Products/Category/1 public ActionResult Category(int id) { var category = northwind.GetCategoryById(id); return(View("List", category)); }