private void AddBadge() { Console.Clear(); KomodoBadge newBadge = new KomodoBadge(); _badgeRepo.AddABadge(newBadge); Console.WriteLine("Enter the doors you would like to make accessible for this new badge. Use ONLY A COMMA to separate each door."); List <string> listOfDoors = Console.ReadLine().ToUpper().Split(',').ToList(); newBadge.Doors = listOfDoors; }
public void Arrange() { _repo = new KomodoBadgeRepo(); List <string> badgeList = new List <string>(); badgeList.Add("A1"); badgeList.Add("A2"); badgeList.Add("A3"); _badge = new KomodoBadge(badgeList); _repo.AddABadge(_badge); }