private void chargeVihicle(string i_LicenseNumber) { if (garage.IsElectricVehicle(i_LicenseNumber)) { string amountOfMinutesToCharge = IO.PrintMsgAndGetValue("Please enter number of minutes to charge"); garage.ChargeBattery(i_LicenseNumber, amountOfMinutesToCharge); } else { IO.UnMatchingEngineMsg("electric", i_LicenseNumber); } }