public ActionResult <Guest> GetGuestById(int id) { var guestModel = _repo.GetGuestById(id); if (guestModel == null) { return(NotFound()); } return(Ok(guestModel)); }
private bool IsGuestExist(int reservationGuestId) { return(_guestRepo.GetGuestById(reservationGuestId) != null); }