예제 #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"));
 }