public void RemoveDoor(int badgeid)
        {
            Console.WriteLine("Enter a door that you would like to remove:");
            string door = Console.ReadLine();

            _badgeRepo.RemoveAccess(badgeid, door);

            Console.WriteLine("Access Removed!");
            Console.ReadKey();
        }
示例#2
0
        public void RemoveAccess_ShouldBeTrue()
        {
            bool testTwo = _repo.RemoveAccess(5, "A7");

            Assert.IsTrue(testTwo);
        }