Пример #1
0
        // View all developers
        private void DisplayAllDevelopers()
        {
            Console.Clear();
            List <Developer> listOfDevelopers = _programmerRepo.GetDeveloperList();

            foreach (Developer programmer in listOfDevelopers)
            {
                Console.WriteLine($"IDNumber:{programmer.IDNumber}\n" +
                                  $"Developer First Name: {programmer.DeveloperFirstName}\n" +
                                  $"Developer Last Name: {programmer.DeveloperLastName}\n" +
                                  $"PluralSight: {programmer.PluralSight}");
            }
        }
Пример #2
0
        // View all developers
        private void ViewAllDevelopers()
        {
            List <DeveloperContent> listOfDevelopers = _developerRepo.GetDeveloperList();

            foreach (DeveloperContent developer in listOfDevelopers)
            {
                Console.WriteLine($"Full Name:{developer.FullName}\nID Number:{developer.IdNum}\nAccess to Pluralsight:{developer.HasPluralsight}");
            }
        }
Пример #3
0
        public void CreateNewTeam()
        {
            Console.Clear();

            List <Dev> listOfContent = _devRepo.GetDeveloperList();

            foreach (Dev content in listOfContent)
            {
                Console.WriteLine($"Name: {content.Name}\n" +
                                  $" ID Number: {content.ID}\n" +
                                  $"Plural Access {content.HasPluralSightAccess}");
            }
        }