public void ListOfBadgesAndDoors_Test() { BadgesContent listItems = new BadgesContent(22345, new List <string> { "A1", "A4", "B1", "B2" }); Dictionary <int, List <string> > unitTestDict = _repo.ListOfBadgesAndDoors(); }
public void DeleteBadge() { Console.Clear(); Dictionary <int, List <string> > badgeDict = _repo.ListOfBadgesAndDoors(); Console.WriteLine("Enter the BadgeId that you are wanting to remove"); int userInput = int.Parse(Console.ReadLine()); foreach (var badgeId in badgeDict) { if (userInput == badgeId.Key) { _repo.GetDoorsByBadgeId(badgeId.Key); break; } } }