예제 #1
0
        public void Undo()
        {
            IParking   whereToPark = parkingRepository.Find(parkingId);
            CarSubject carToPark   = carRepository.Find(carId);

            whereToPark.RemoveCarfromParking(carToPark);
            carToPark.IsParked = false;
        }