Exemple #1
0
        // Add Developer Team
        private void AddDeveloperTeam()
        {
            Console.Clear();

            DevTeam newTeam = new DevTeam();

            //Add Dev Team name
            Console.WriteLine("Enter the name for the new Developer Team");
            newTeam.DevTeamName = Console.ReadLine();

            // Assign group number to Dev Team
            Console.WriteLine("Enter the group number you want to assign to this team");
            newTeam.GroupNumber = int.Parse(Console.ReadLine());

            newTeam.ListOfDevelopers = new List <Developer>();

            // Add dev team to devteam repo
            _devTeamRepo.AddNewTeamToList(newTeam);
        }