private List <Shared.Selectables.Person> CopySelectedToSecondGrid() { List <Shared.Selectables.Person> selections = new List <Shared.Selectables.Person>(); foreach (Shared.Selectables.Person p in SelectablePersons) { if (p.Selected) { selections.Add(p); SelectedPersons.Add(p); } } return(selections); }
private void AddSelectedToSelectedPersons() { SelectedPersons.Add(SelectedListPerson); Persons.Remove(SelectedListPerson); }