Пример #1
0
 private void ButtonNewPerson_Click(object sender, RoutedEventArgs e)
 {
     PersonBeingEdited = new PersonViewModel("New", "Person");
 }
Пример #2
0
 private PersonViewModel MatchesExistingPerson(PersonViewModel person)
 {
     return(PeopleViewModel.People.FirstOrDefault(p => p.ID == person.ID));
 }