public IHttpActionResult GetReservationsOfGuest(int id) { try { return(Ok(repo.GetReservationsForGuest(id))); } catch (Exception) { return(NotFound()); } }
public IHttpActionResult GetReservationsOfGuest(int id) { try { return(Ok(repo.GetReservationsForGuest(id))); } catch (Exception) { return(NotFound()); } }