示例#1
0
        public void CreateTournament()
        {
            var teams      = _allTeamRepository.All();
            var tournament = new Tournament(new Queue <Team>(teams));

            _allTournamentRepository.Set(tournament);
        }
示例#2
0
 public IEnumerable <Team> All()
 {
     return(_allTeam.All());
 }