Ejemplo n.º 1
0
        public void InflateWheelsVehicleToMax(string i_LicenseNumber)
        {
            Vehicle relevantVehicle = getVehicle(i_LicenseNumber);

            if (relevantVehicle != null)
            {
                relevantVehicle.InflateWheelsToMax();
            }
            else
            {
                throw new Exception("This vehicle does not exist in the database");
            }
        }
Ejemplo n.º 2
0
 public void InflateWheelsToMax()
 {
     m_Vehicle.InflateWheelsToMax();
 }