public ActionResult ModifySystemValue(SystemValueUpdateModel model) { if (ModelState.IsValid) { try { model.Update(); ShowSuccessMessage("System Value sucessfully updated."); return RedirectToAction("Details", new { CategoryId = model.SystemValue.CategoryId }); } catch (Exception ex) { ShowErrorMessage(ex.Message); } } return View(model); }