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);
 }
 public ActionResult ModifySystemValue(int ValueId)
 {
     var model = new SystemValueUpdateModel();
     model.ValueId = ValueId;
     return View(model);
 }