//update doors on an existing badge. public void UpdateDoors(int BadgeID, Badge newBadge) { _badgeDictionary[BadgeID] = newBadge; }
public Badge GetBadgeFromList(int badgeID) { Badge badge = new Badge(badgeID, _badgeRepo[badgeID]); return(badge); }
//create a new badge public void CreateNewBadge(int BadgeID, Badge newBadge) { _badgeDictionary.Add(BadgeID, newBadge); }
public void AddBadgetoList(Badge badge) { _badgeRepo.Add(badge.BadgeID, badge.DoorsAccessible); }