public void AddTeam(TeamObject team) { if (!TeamsByType.ContainsKey(team.TeamType)) { TeamsByType.Add(team.TeamType, new List <TeamObject>()); } TeamsByType[team.TeamType].Add(team); }
public void RemoveTeam(TeamObject team) { TeamsByType[team.TeamType].Remove(team); }
public TeamObject(TeamObject teamsdb) { TeamSize = teamsdb.TeamSize; TeamTask = teamsdb.TeamTask; }