public PartialViewResult GetFitDetailsById(int enquiryItemId) { EnquiryViewModel enqViewModel = new EnquiryViewModel(); try { enqViewModel.Enquiry = _enqRepo.GetFitDetailsById(enquiryItemId); } catch (Exception ex) { enqViewModel.FriendlyMessage.Add(MessageStore.Get("SYS01")); Logger.Error("Enquiry Controller - GetFitDetailsById " + ex.Message); } TempData["enqViewModel"] = enqViewModel; enqViewModel.PackageTypes = _pRepo.drpGetPackageTypes(); enqViewModel.HotelTypes = _hRepo.drpGetHotelTypes(); enqViewModel.RoomTypes = _hRepo.drpGetRoomTypes(); enqViewModel.Users = _enqRepo.drpGetUsers(); enqViewModel.Cities = _pRepo.drpGetCountryStateCity(); enqViewModel.Countries = _cRepo.drpGetCountries(); enqViewModel.States = _cRepo.drpGetstates(); enqViewModel.cityes = _enqRepo.drpGetcity(); return(PartialView("_FitDetails", enqViewModel)); }