public GetGuestResponseDto GetGuest() { var response = new GetGuestResponseDto(); response.Guest = _iPmsLogic.GetAllGuest(false); return(response); }
public GetGuestResponseDto GetGuestById(int guestId) { var response = new GetGuestResponseDto(); if (guestId <= 0) { return(response); } return(response); }
public GetGuestResponseDto GetGuestByIdType(string idType, string idNumber) { if (string.IsNullOrWhiteSpace(idType)) { throw new PmsException("Guest IdType is not valid."); } if (string.IsNullOrWhiteSpace(idNumber)) { throw new PmsException("Guest IdNumber is not valid."); } var response = new GetGuestResponseDto(); return(response); }
public GetGuestResponseDto GetGuestByRoomNumber(int propertyId, string roomNumber) { if (propertyId <= 0) { throw new PmsException("Property id is not valid."); } var response = new GetGuestResponseDto(); if (string.IsNullOrWhiteSpace(roomNumber)) { return(response); } return(response); }