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