private void loadData() { if (SelectedCandidate != null) { CandidateHistoryCollection = candidateHistoryRepository.GetCandidateHistorysByID(SelectedCandidate.ID); ConfigStatusLibCollection = configStatusLibRepository.GetConfigStatusLibs(); } }
private void loadData() { SelectedPosition = ""; Comment = ""; SelectedCompany = null; SelectedProject = null; SelectedStatus = null; ConfigStatusLibCollection = configStatusLibRepository.GetConfigStatusLibs(); ConfigPojectsCollection = configProjectRepository.GetConfigProjects().OrderBy(e => e.ProjectName).ToObservableCollection(); ConfigCompanyCollection = configCompanyRepository.GetConfigCompanysForCandidate(ReceivedCandidateProjects).OrderBy(e => e.Company).ToObservableCollection(); ConfigCompanyCollectionAll = configCompanyRepository.GetConfigCompanys().ToObservableCollection(); }