Esempio n. 1
0
        public void AddDevelopersToTeam(int teamID, List <Developer> developers)
        {
            DevTeam team = GetDevTeamByID(teamID);

            if (team != null)
            {
                foreach (Developer d in developers)
                {
                    team.AddToDeveloperTeam(d);
                }
            }
        }
Esempio n. 2
0
        public bool AddDeveloperToTeam(int teamID, Developer dev)
        {
            DevTeam team = GetDevTeamByID(teamID);

            if (team != null)
            {
                team.AddToDeveloperTeam(dev);
                return(true);
            }
            else
            {
                return(false);
            }
        }