public LeagueTeamCollection CreateLeagueTeamCollection(string leagueName, string leagueKey)
 {
     var league = new League(1, leagueName, leagueKey, 1, 16);
     var teamCollection = new TeamCollection();
     teamCollection.Add(new Team(1, "team_key", "team_name"));
     return new LeagueTeamCollection(league, teamCollection);
 }
        public LeagueTeamCollection(League league, TeamCollection teams)
        {
            if (league == null) { throw new ArgumentNullException("league"); }
            if (teams == null) { throw new ArgumentNullException("teams"); }

            this.League = league;
            this.Teams = teams;
        }
 internal LeagueSettings(IDictionary<PositionAbbreviation, RosterPosition> rosterPositions, League league)
 {
     this.RosterPositions = rosterPositions;
     this.League = league;
 }
        public LeagueDraftResultCollection(League league, DraftResultCollection draftResults)
        {
            if (league == null) { throw new ArgumentNullException("league"); }
            if (draftResults == null) { throw new ArgumentNullException("draftResults"); }

            this.League = league;
            this.DraftResults = draftResults;
        }
 public LeagueDraftResultCollection CreateLeagueDraftResultCollection(int leagueId, string leagueKey)
 {
     var league = new League(leagueId, "League " + leagueId, leagueKey, 1, 16);
     var draftResults = CreateDraftResultCollection();
     return new LeagueDraftResultCollection(league, draftResults);
 }