Пример #1
0
 public ActionResult Edit(Category model)
 {
     result.resultint = cr.Update(model);
     ViewBag.Mesaj    = result.resultint.UserMessage;
     return(View());
 }
 public ActionResult EditCategory(Category model)
 {
     result.resultint = cr.Update(model);
     return(RedirectToAction("List", new { @m = result.resultint.UserMessage, @id = model.CategoryID }));
 }
Пример #3
0
 public object UpdateCategory(String id, CategoryReq req)
 {
     return(categoryRep.Update(id, req));
 }
Пример #4
0
 public ActionResult Edit(Category model)
 {
     result = cr.Update(model);
     return(RedirectToAction("List", "Category"));
 }