public ActionResult Index(HotelTariffViewModel htViewModel) { if (TempData["htViewModel"] != null) { htViewModel = (HotelTariffViewModel)TempData["htViewModel"]; } Set_Date_Session(htViewModel.HotelTariff); //htViewModel.Vendors = _htRepo.drpGetVendors(); //htViewModel.Hotels = _htRepo.drpGetHotels(); //htViewModel.RoomTypes = _htRepo.drpGetRoomTypes(); //htViewModel.Meals = _htRepo.drpGetMeals(); //htViewModel.Occupancies = _htRepo.drpGetOccupancies(); ////Price dropdowns htViewModel.LstTaxFormula = _tRepo.drpGetTaxFormula(); htViewModel.LstStandardCharges = _cRepo.GetStandardCharges(); htViewModel.CustomerCategories = _vtRepo.drpGetCustomerCategories(); return(View("Index", htViewModel)); }
public ActionResult Index(SupplierHotelTariffViewModel sViewModel) { // Fill Tax Formula Drop- down sViewModel.LstTaxFormula = _tRepo.drpGetTaxFormula(); //Fill Customer Category Drop-down sViewModel.CustomerCategories = _vtRepo.drpGetCustomerCategories(); sViewModel.LstStandardCharges = _cRepo.GetStandardCharges(); return(View(sViewModel)); }
public ActionResult Index(VehicleTariffViewModel vtViewModel) { if (TempData["vtViewModel"] != null) { vtViewModel = (VehicleTariffViewModel)TempData["vtViewModel"]; } Set_Date_Session(vtViewModel.VehicleTariff); vtViewModel.Vendors = _vtRepo.drpGetVendors(); vtViewModel.Vehicles = _vtRepo.drpGetVehicles(); vtViewModel.CustomerCategories = _vtRepo.drpGetCustomerCategories(); return(View("Index", vtViewModel)); }