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;
        }
Esempio n. 2
0
 private void OnDelete()
 {
     _scorersToDelete.Add(SelectedScorer);
     Scorers.Remove(SelectedScorer);
     UpdateDBCommand.RaiseCanExecuteChanged();
 }