Example #1
0
        public void DeleteRoom(string SelectedRoom)
        {
            var AllRooms = RoomRepo.LoadRooms();

            foreach (var SingleRoom in AllRooms)
            {
                if (SingleRoom.RetrieveRoomName() == SelectedRoom)
                {
                    RoomRepo.DeleteRoom(SelectedRoom);
                }
            }
        }