Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
        public Team CreateTeam1()
        {
            var teamRepo = new TeamRepository();
            var team = new Team
                           {
                               MaxSize = 14,
                               Name = TeamName1,
                           };
            TeamId1 = team.Id;

            teamRepo.Save(team);
            return team;
        }