public void LeftSideBarrierCarGetBack() { if (LeftSideBarrier.Car == null) { Notification.AllPlacesIsBusy(); } Move(LeftSideBarrier, FreeCars.Last()); }
public void RightSideBarrierCarGetBack() { if (RightSideBarrier.Car == null || ParkingPlaceCars.All(ppc => ppc.Car == null)) { Notification.AllPlacesIsBusy(); } Move(RightSideBarrier, ParkingPlaceCars.Last(ppc => ppc.Car == null)); }