public ActionResult Delete(string id) { try { var filmDao = new FilmDAO(); filmDao.deleteByID(id); return(RedirectToAction("Films")); } catch { return(View()); } }