Exemplo n.º 1
0
 public ActionResult DeleteConfirmed(int id)
 {
     try
     {
         var award = awardLogic.Get(id);
         awardLogic.Delete(id);
         awardLogic.UpdateDAO();
         return(RedirectToAction("GetList"));
     }
     catch (KeyNotFoundException)
     {
         return(HttpNotFound());
     }
 }