Exemplo n.º 1
0
 public ActionResult Details(int id)
 {
     try
     {
         var reservation = _reservationsRepository.FindById(id);
         return(View(reservation));
     }
     catch
     {
         return(RedirectToAction("Index", "Home"));
     }
 }