Esempio n. 1
0
        private void ViewRankings()
        {
            var teamSeasons = _teamSeasonRepository.GetTeamSeasonsBySeason(WpfGlobals.SelectedSeason).ToList();

            TotalRankings     = new ReadOnlyCollection <TeamSeason>(teamSeasons);
            OffensiveRankings = new ReadOnlyCollection <TeamSeason>(teamSeasons);
            DefensiveRankings = new ReadOnlyCollection <TeamSeason>(teamSeasons);
        }
Esempio n. 2
0
        private void ViewTeams()
        {
            var teamSeasons = _teamSeasonRepository.GetTeamSeasonsBySeason(WpfGlobals.SelectedSeason);

            Teams = new ReadOnlyCollection <TeamSeason>(teamSeasons.ToList());
        }