Beispiel #1
0
        private void SeedTeamList()
        {
            List <Developer> developers   = new List <Developer>();
            List <Developer> developers_2 = new List <Developer>();
            DevTeam          team1        = new DevTeam(developers, "Red Team", 1);
            DevTeam          team2        = new DevTeam(developers_2, "Blue Team", 2);


            _devTeamRepo.CreateNewTeam(team1);
            _devTeamRepo.CreateNewTeam(team2);
        }
Beispiel #2
0
        private void CreateNewTeam()
        {
            Console.Clear();
            Console.WriteLine("Please enter team name: ");
            string name = Console.ReadLine();
            long   id   = devTeamRepo.GetUniqueTeamID();

            devTeamRepo.CreateNewTeam(id, name);
        }