Esempio n. 1
0
        public void RemoveDoorAccess(int badgeNum, DoorAccess door)
        {
            Badge badgeUpdate = GetByBadgeNum(badgeNum);

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

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