예제 #1
0
 private GeneralHotelDto GeneralHotelDto(RequestToProvider request)
 {
     return(new GeneralHotelDto()
     {
         SearchRoom = MapperT <RequestToProvider, SearchRoomDto> .GetTMap(request),
         Hotel = MapperT <RequestToProvider, HotelDto> .GetTMap(request),
         RoomReservation = MapperT <RequestToProvider, RoomReservationDto> .GetTMap(request)
     });
 }
예제 #2
0
 public GeneralShowDto GeneralShowDto(RequestToProvider request)
 {
     return(new GeneralShowDto()
     {
         SearchShow = MapperT <RequestToProvider, SearchShowDto> .GetTMap(request),
         ShowReservation = MapperT <RequestToProvider, ShowReservationDto> .GetTMap(request),
         Show = MapperT <RequestToProvider, ShowDto> .GetTMap(request)
     });
 }
예제 #3
0
        private GeneralFlightDto GetGeneralFlightDto(RequestToProvider request)
        {
            var generalFlight = new GeneralFlightDto()
            {
                BookFlight   = MapperT <RequestToProvider, BookFlightDto> .GetTMap(request),
                Flight       = MapperT <RequestToProvider, FlightDto> .GetTMap(request),
                SearchFlight = MapperT <RequestToProvider, SearchFlightDto> .GetTMap(request)
            };

            return(generalFlight);
        }