public ActionResult EditAction(ActionVM actionvm) { if (ModelState.IsValid) { _ObjActionRepository.UpdateAction(actionvm); return(RedirectToAction("ActionIndex")); } return(View(actionvm)); }
public ActionResult EditAction(ActionVM actionvm) { if (ModelState.IsValid) { _ObjActionRepository.UpdateAction(actionvm); return(RedirectToAction("ActionIndex")); } return(View(actionvm)); }