public ActionResult Edit(Status status)
 {
     try
     {
         _statusService.EditStatus(status);
         return RedirectToAction("Index");
     }
     catch
     {
         return View(status);
     }
 }
 public bool EditStatus(Status status)
 {
     try
     {
         _repository.EditStatus(status);
     }
     catch (Exception ex)
     {
         _validationDictionary.AddError("_FORM", "Status is not saved. " + ex.Message);
         return false;
     }
     return true;
 }