private void Find()
 {
     Vacancies = new ObservableCollection <object>(CollectionConverter <v_vacancy> .ConvertToObjectList(_executor.GetVacancies(
                                                                                                            (SelectedIdProfessionCategory != null ? (int)SelectedIdProfessionCategory : -1),
                                                                                                            (SelectedIdProfession != null ? (int)SelectedIdProfession : -1),
                                                                                                            (SelectedIdCountry != null ? (int)SelectedIdCountry : -1),
                                                                                                            (SelectedIdCity != null ? (int)SelectedIdCity : -1),
                                                                                                            (SelectedIdStreet != null ? (int)SelectedIdStreet : -1), ProfessionName, SelectedExperiences.ToList(),
                                                                                                            SelectedSchedules.ToList(), SelectedEmploymentTypes.ToList(), SelectedSkills.ToList(), new Model.Logic.Range <DateTime>(BeginValueDateOfRegistration, EndValueDateOfRegistration),
                                                                                                            BeginValueClosingDate, EndValueClosingDate, BeginValueSalary, EndValueSalary)));
 }
Exemplo n.º 2
0
 private void GenerateReport()
 {
     Report = new ObservableCollection <v_inDemandSkillsDetailedReport>(_executor.GetInDemandSkillsDetailedReports(
                                                                            new Model.Logic.Range <DateTime>(BeginValueDateOfRegistrationVacancy.Date.Add(new TimeSpan(0, 0, 0, 0, 0)), EndValueDateOfRegistrationVacancy.Date.Add(new TimeSpan(0, 23, 59, 59, 999))),
                                                                            SelectedSkills.ToList()));
 }