public ActionResult Delete(int id)
        {
            var dao = new TourDAO();

            dao.Delete(id);
            return(RedirectToAction("Index"));
        }
Esempio n. 2
0
 public Result Delete(string id)
 {
     return(tourDAO.Delete(id));
 }