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