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