public ActionResult Delete(String id) { try { hm.Delete(id); return(RedirectToAction("Index")); } catch { return(View()); } }