public Team CreateTeam3() { var teamRepo = new TeamRepository(); var team = new Team { MaxSize = 3, Name = TeamName3, PlayersIds = new List<string>(), Creator = Profile2Id }; TeamId3 = team.Id; teamRepo.Save(team); return team; }
public Team CreateTeam1() { var teamRepo = new TeamRepository(); var team = new Team { MaxSize = 14, Name = TeamName1, }; TeamId1 = team.Id; teamRepo.Save(team); return team; }