private bool EditBadge() { Console.Clear(); var newBadge = new BadgesPoco(); Console.WriteLine("What is the badge number to update?:"); string _badgeNumberAsString = Console.ReadLine(); var badgeNumber = int.Parse(_badgeNumberAsString); var badgeToUpdate = _badgesRepo.GetBadgeByKey(badgeNumber); Console.WriteLine("What would you like to do?:\n" + "1. Remove a door\n" + "2.Add a door"); string input = Console.ReadLine(); switch (input) { case "1": Console.WriteLine("Which door to remove?"); string doorRemove = Console.ReadLine(); _badgesRepo.EditBadge(int badgeNumber, BadgesPoco doorRemove); break; case "2": Console.WriteLine("Which door to add?"); string doorAdd = Console.ReadLine(); _badgesRepo.EditBadge(int badgeNumberTwo, BadgesPoco doorAdd); break; } }