예제 #1
0
 public void UpdateTeam(Team team, int id)
 {
     dal.Edit(new TeamDto
     {
         IdTeam = id,
         Name   = team.Name
     });
 }
        public void UpdateTeam(Team team, int id)
        {
            ITeamDal dal = PlayerFactory.GetTeamDal();

            dal.Edit(new TeamDto
            {
                IdTeam = id,
                Name   = team.Name
            });
        }