Example #1
0
        public void RemoveDoorAccess(int badgeNum, DoorAccess door)
        {
            Badge badgeUpdate = GetByBadgeNum(badgeNum);

            badgeUpdate.DoorAccess.Remove(door);
        }
Example #2
0
 public void RemoveBadgeFromDic(Badge badge)
 {
     _accessRepo.Remove(badge.BadgeID);
 }
Example #3
0
        public void AddDoorAccess(int badgeNum, int door)
        {
            Badge badgeUpdate = GetByBadgeNum(badgeNum);

            badgeUpdate.DoorAccess.Add((DoorAccess)door);
        }
Example #4
0
 public void AddBadgeToDic(Badge badge)
 {
     _accessRepo.Add(badge.BadgeID, badge);
 }