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