Example #1
0
        public GetGuestResponseDto GetGuest()
        {
            var response = new GetGuestResponseDto();

            response.Guest = _iPmsLogic.GetAllGuest(false);
            return(response);
        }
Example #2
0
        public GetGuestResponseDto GetGuestById(int guestId)
        {
            var response = new GetGuestResponseDto();

            if (guestId <= 0)
            {
                return(response);
            }
            return(response);
        }
Example #3
0
        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);
        }
Example #4
0
        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);
        }