private void OnSelectScorer() { SelectedScorers.Add(SelectedScorer); Scorers.Remove(SelectedScorer); SelectedScorer = null; int count = 0; foreach (var s in SelectedScorers) { count += s.Teams.Count; } NumTeams = count; }
private void OnDelete() { _scorersToDelete.Add(SelectedScorer); Scorers.Remove(SelectedScorer); UpdateDBCommand.RaiseCanExecuteChanged(); }