// View individual developer by ID private void DisplayIndividualDeveloperByID() { Developer newDeveloper = new Developer(); Console.Clear(); // Prompt the user to give me a DeveloperID Console.WriteLine("Enter the DeveloperID of the developer you'd like to see:"); // Get the user's input string newDevIDNumber = Console.ReadLine(); newDeveloper.IDNumber = int.Parse(newDevIDNumber); // Find the developer by that DeveloperID Developer programmer = _programmerRepo.GetDeveloperByIDNumber(newDeveloper.IDNumber); // Display said DeveloperID if it isn't null if (programmer != null) { Console.WriteLine($"Developer ID: {programmer.IDNumber}\n" + $"First Name: {programmer.DeveloperFirstName}\n" + $"Last Name: {programmer.DeveloperLastName}\n" + $"PluralSight: {programmer.PluralSight}"); } else { Console.WriteLine("no developer by that id."); } }