예제 #1
0
 public IHttpActionResult GetReservationsOfGuest(int id)
 {
     try
     {
         return(Ok(repo.GetReservationsForGuest(id)));
     }
     catch (Exception)
     {
         return(NotFound());
     }
 }