public ActionResult Edit(Status model) { bool result = StatusData.Edit(model); if (result) { return(RedirectToAction("Index")); } return(View()); }