//[HttpPost] public ActionResult DeletePerson(int personId) { try { dao.RemovePerson(personId); return(RedirectToAction("Index")); } catch { return(RedirectToAction("Index")); } }