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 })); }
public object UpdateCategory(String id, CategoryReq req) { return(categoryRep.Update(id, req)); }
public ActionResult Edit(Category model) { result = cr.Update(model); return(RedirectToAction("List", "Category")); }