public ActionResult Index(HotelTariffTaxUpdationViewModel htuViewModel)
        {
            if (TempData["htuViewModel"] != null)
            {
                htuViewModel = (HotelTariffTaxUpdationViewModel)TempData["htuViewModel"];
            }

            Set_Date_Session(htuViewModel.HotelTariffTax);

            htuViewModel.Vendors = _htRepo.drpGetVendors();

            htuViewModel.Hotels = _htRepo.drpGetHotels();

            htuViewModel.RoomTypes = _htRepo.drpGetRoomTypes();

            htuViewModel.Meals = _htRepo.drpGetMeals();

            //Price dropdowns

            htuViewModel.LstTaxFormula = _tRepo.drpGetTaxFormula();

            htuViewModel.LstStandardCharges = _cRepo.GetStandardCharges();

            return(View("Index", htuViewModel));
        }
Beispiel #2
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));
        }