private void EditDevData() { DisplayDevs(); System.Console.WriteLine("\n" + "Enter the last name of the developer that you would like to edit:"); string oldLastName = System.Console.ReadLine(); Developer newData = new Developer(); System.Console.WriteLine("Enter the first name for the new developer data:"); newData.FirstName = System.Console.ReadLine(); System.Console.WriteLine("Enter the last name for the new developer data:"); newData.LastName = System.Console.ReadLine(); System.Console.WriteLine("Enter the identification number for the new developer data:"); string devIdNumberstring = System.Console.ReadLine(); int idNumber = int.Parse(devIdNumberstring); System.Console.WriteLine("Is the developer plural sight licensed? (y/n)"); string isPluralSightLicensedString = System.Console.ReadLine(); if (isPluralSightLicensedString == "y") { newData.IsPluralSightLicensed = true; } else { newData.IsPluralSightLicensed = false; } System.Console.WriteLine("Enter name of team developer is assigned:"); string teamMemberString = System.Console.ReadLine(); int teamMemberInt = int.Parse(teamMemberString); newData.MemberOfTeam = (TeamNames)teamMemberInt; bool wasEdited = _devRepo.EditDeveloperData(oldLastName, newData); if (wasEdited) { System.Console.WriteLine("Developer data was successfully edited."); } else { System.Console.WriteLine("Could not edit develoer data..."); } }