コード例 #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;
        }
コード例 #2
0
 public void SetUp()
 {
     _repo = new TeamRepository();
     _data = new SampleDataBuilder();
 }
コード例 #3
0
        public Team CreateTeam1()
        {
            var teamRepo = new TeamRepository();
            var team = new Team
                           {
                               MaxSize = 14,
                               Name = TeamName1,
                           };
            TeamId1 = team.Id;

            teamRepo.Save(team);
            return team;
        }