// GET: Hotel/Details/5 // GET: Forum/Details/5 public ActionResult Details(int id) { demandeconsultationenligne d = a.getConsultationById(id); if (d == null) { return(HttpNotFound()); } return(View(d)); }