Exemplo n.º 1
0
        public PartialViewResult GetFitDetails(EnquiryViewModel enqViewModel)
        {
            enqViewModel.PackageTypes = _pRepo.drpGetPackageTypes();

            enqViewModel.HotelTypes = _hRepo.drpGetHotelTypes();

            enqViewModel.RoomTypes = _hRepo.drpGetRoomTypes();

            return(PartialView("_FitDetails", enqViewModel));
        }
        public ActionResult LohanaPackageTariffSearch(LohanaPackageTariffSearchViewModel lptsViewModel)
        {
            lptsViewModel.PackageTypes = _pRepo.drpGetPackageTypes();

            if (TempData["lptsViewModel"] != null)
            {
                lptsViewModel = (LohanaPackageTariffSearchViewModel)TempData["lptsViewModel"];
            }

            return(View("LohanaPackageTariffSearch", lptsViewModel));
        }
Exemplo n.º 3
0
        public ActionResult Index(LohanaPackageTariffViewModel lpViewModel)
        {
            lpViewModel.Cities = _hRepo.drpGetCountryStateCity();

            lpViewModel.RoomTypes = _htRepo.drpGetRoomTypes();

            lpViewModel.Meals = _htRepo.drpGetMeals();

            lpViewModel.Vendors = _vtRepo.drpGetVendors();

            lpViewModel.Vehicles = _vtRepo.drpGetVehicles();

            lpViewModel.PackageTypes = _pRepo.drpGetPackageTypes();

            return(View("Index", lpViewModel));
        }