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