private void RefreshSpecialtyForSearchProperty() { SpecialtiesForSearch.Clear(); try { Specialty item0 = new Specialty { Id = 0, Name = DafaultConstant.DefaultSpecialty }; SpecialtiesForSearch.Add(item0); Specialties.ToList().ForEach(x => SpecialtiesForSearch.Add(x)); OnPropertyChanged(nameof(SpecialtiesForSearch)); } catch (EntityException e) { OnEntityException(e); } catch (DbEntityValidationException e) { OnDbEntityValidationException(e); } }