public void CreateTournament() { var teams = _allTeamRepository.All(); var tournament = new Tournament(new Queue <Team>(teams)); _allTournamentRepository.Set(tournament); }
public IEnumerable <Team> All() { return(_allTeam.All()); }
public void CreateTournament() { var teams = _allTeamRepository.All(); var tournament = new Tournament(new Queue <Team>(teams)); _allTournamentRepository.Set(tournament); }
public IEnumerable <Team> All() { return(_allTeam.All()); }