示例#1
0
 public ActionResult GridProductsAction(int?CategoryID)
 {
     return(PartialView("GridProducts", MyModel.GetProductsByCategory(CategoryID)));
 }
示例#2
0
 public ActionResult GridCategoriesAction()
 {
     return(PartialView("GridCategories", MyModel.GetCategories()));
 }