Ejemplo n.º 1
0
        public ActionResult SubmitSearchGeneral(GeneralIndexVM obj)
        {
            CarRentIndexVM car = new CarRentIndexVM()
            {
                desCity    = obj.desCity,
                desCountry = obj.desCountry,
                sdate      = obj.startDate,
                edate      = obj.endDate,
            };

            return(SubmitSearch(car));
        }
Ejemplo n.º 2
0
        public ActionResult SubmitSearchGeneral(GeneralIndexVM obj)
        {
            HotelIndexVM hotel = new HotelIndexVM()
            {
                city    = obj.desCity,
                country = obj.desCountry,
                sdate   = obj.startDate,
                edate   = obj.endDate,
            };

            return(SubmitSearch(hotel));
        }
Ejemplo n.º 3
0
        public ActionResult SubmitSearchGeneral(GeneralIndexVM obj)
        {
            PackageIndexVM package = new PackageIndexVM()
            {
                composition = obj.composition,
                desCity     = obj.desCity,
                desCountry  = obj.desCountry,
                sdate       = obj.startDate,
                edate       = obj.endDate,
            };

            return(SubmitSearch(package));
        }
Ejemplo n.º 4
0
        public ActionResult SubmitSearchGeneral(GeneralIndexVM obj)
        {
            FlightIndexVM flight = new FlightIndexVM()
            {
                desCity       = obj.desCity,
                desCountry    = obj.desCountry,
                originCity    = obj.originCity,
                originCountry = obj.originCountry,
                sdate         = obj.startDate,
                edate         = obj.endDate,
            };

            return(SubmitSearch(flight));
        }
Ejemplo n.º 5
0
        public ActionResult ViewHotelInfoGeneral(GeneralIndexVM obj)
        {
            SearchResultsVM hotel = new SearchResultsVM()
            {
                destination   = obj.desCountry,
                endDate       = obj.endDate,
                startdDate    = obj.startDate,
                nights        = obj.nights,
                originalLink  = obj.originalLink,
                selectedHotel = 0,
                hotelRating   = obj.hotelRating,
                hotelId       = obj.hotelId,
            };

            return(ViewHotelInfo(hotel));
        }