//Delete public ActionResult Delete(int id) { var hall = HallDAO.GetHall(id); if (hall == null) { return(HttpNotFound()); } HallDAO.Delete(hall); return(RedirectToAction("HallList")); }
public int Delete(int id) { HallDAO.Delete(id); return(1); }