public void FillElectricVehicle() { int amountOfMinutes; string licenseNumber = GetLicenseNumber(); bool vehicleExist = m_Garage.VehicleExistInGarage(licenseNumber); if (vehicleExist) { amountOfMinutes = m_UI.GetIntNumber(); m_Garage.FillElectric(licenseNumber, amountOfMinutes); } else { string errMsg = string.Format("Vehicle {0} is not existing in the garage", licenseNumber); throw new ArgumentException(errMsg); } }