public void LoadRelatedLists() { SettingsRepository settings = new SettingsRepository(); ezs = settings.GetEcologicalZones(); eus = settings.GetEvaluationUnits(); subdistricts = settings.GetEvalSubDistricts(); evalsites = settings.GetEvalSites(); IntvRepository repo = new IntvRepository(); partners = repo.GetPartners(); }
protected void LoadRelatedLists() { IntvRepository repo = new IntvRepository(); partners = repo.GetPartners(); months = GlobalizationUtil.GetAllMonths(); SettingsRepository settings = new SettingsRepository(); ezs = settings.GetEcologicalZones(); eus = settings.GetEvaluationUnits(); subdistricts = settings.GetEvalSubDistricts(); ess = settings.GetEvalSites(); DiseaseRepository diseases = new DiseaseRepository(); selectedDiseases = diseases.GetSelectedDiseases().Select(d => d.DisplayName).ToList(); valueParser.LoadRelatedLists(); }
public void LoadRelatedLists() { IntvRepository repo = new IntvRepository(); partners = repo.GetPartners(); months = GlobalizationUtil.GetAllMonths(); SettingsRepository settings = new SettingsRepository(); ezs = settings.GetEcologicalZones(); eus = settings.GetEvaluationUnits(); subdistricts = settings.GetEvalSubDistricts(); ess = settings.GetEvalSites(); }