コード例 #1
0
        //Get Dev List
        private void SeeAllDev()
        {
            Console.Clear();

            List <DevContent> listOfContent = _contentRepo.GetDevList();

            foreach (DevContent content in listOfContent)
            {
                Console.WriteLine($"Developer Name: {content.FullName}\n" +
                                  $"Developer ID: {content.IdentificationNumber}");
            }
        }
コード例 #2
0
        private void ViewDevList()
        {
            List <Developer> developers = _devRepo.GetDevList();

            foreach (Developer developer in developers)
            {
                Console.Clear();
                Console.WriteLine($"Name: {developer.DevName}\n" +
                                  $"ID Number: {developer.DevID}\n" +
                                  $"Access to PluralSight? {developer.AccessToPluralsight}");
            }
        }