public ActionResult SubmitSearchGeneral(GeneralIndexVM obj) { CarRentIndexVM car = new CarRentIndexVM() { desCity = obj.desCity, desCountry = obj.desCountry, sdate = obj.startDate, edate = obj.endDate, }; return(SubmitSearch(car)); }
public ActionResult SubmitSearchGeneral(GeneralIndexVM obj) { HotelIndexVM hotel = new HotelIndexVM() { city = obj.desCity, country = obj.desCountry, sdate = obj.startDate, edate = obj.endDate, }; return(SubmitSearch(hotel)); }
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)); }
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)); }
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)); }