示例#1
0
        private void DisplayAllEmployees()
        {
            Console.Clear();

            List <DevPOCO> listOfDevs = _devRepo.GetDevelopers();

            foreach (DevPOCO devPOCO in listOfDevs)
            {
                Console.WriteLine($"Developer ID: {devPOCO.DeveloperID}\n" +
                                  $" First Name: {devPOCO.FirstName}\n" +
                                  $" Last name: {devPOCO.LastName}\n" +
                                  $"PluralSight Account: {devPOCO.PluralSightAccount}");
            }
        }