Пример #1
0
        public void FillAirInWheels(string i_LicensePlateNumber, float[] i_AmountOfAirToFill)
        {
            Vehicle curVehicle = SearchVehicle(i_LicensePlateNumber);

            if (curVehicle == null)
            {
                throw new VehicleNotInGarageException();
            }
            else
            {
                curVehicle.FillAirInWheels(i_AmountOfAirToFill);
            }
        }