public ActionResult Delete(int id) { var dao = new TourDAO(); dao.Delete(id); return(RedirectToAction("Index")); }
public Result Delete(string id) { return(tourDAO.Delete(id)); }