Beispiel #1
0
 //CRUD
 public void CreateTeam(Team team)
 {
     teams.Add(team);
     dal.Create(new TeamDto
     {
         Name  = team.Name,
         Owner = team.Owner
     });
 }
        //CRUD
        public void CreateTeam(Team team)
        {
            teams.Add(team);
            ITeamDal dal = PlayerFactory.GetTeamDal();

            dal.Create(new TeamDto
            {
                Name  = team.Name,
                Owner = team.Owner
            });
        }