public ActionResult Edit(NewsCategory category)
 {
     BizNewsCategory.Update(category);
     return RedirectToAction("List");
 }
 public ActionResult Create(NewsCategory category)
 {
     BizNewsCategory.Insert(category);
     return RedirectToAction("List");
 }
Example #3
0
 partial void UpdateNewsCategory(NewsCategory instance);
Example #4
0
 partial void DeleteNewsCategory(NewsCategory instance);
Example #5
0
 partial void InsertNewsCategory(NewsCategory instance);