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