public System.Threading.Tasks.Task <Desktop.VehicleServiceReference.RentACarResponse> RentACarAsync(int vehicleId, int customerId, Desktop.VehicleServiceReference.Rentalinformation rental) { Desktop.VehicleServiceReference.RentACarRequest inValue = new Desktop.VehicleServiceReference.RentACarRequest(); inValue.Body = new Desktop.VehicleServiceReference.RentACarRequestBody(); inValue.Body.vehicleId = vehicleId; inValue.Body.customerId = customerId; inValue.Body.rental = rental; return(((Desktop.VehicleServiceReference.VehicleServiceServiceSoap)(this)).RentACarAsync(inValue)); }
public bool RentACar(int vehicleId, int customerId, Desktop.VehicleServiceReference.Rentalinformation rental) { Desktop.VehicleServiceReference.RentACarRequest inValue = new Desktop.VehicleServiceReference.RentACarRequest(); inValue.Body = new Desktop.VehicleServiceReference.RentACarRequestBody(); inValue.Body.vehicleId = vehicleId; inValue.Body.customerId = customerId; inValue.Body.rental = rental; Desktop.VehicleServiceReference.RentACarResponse retVal = ((Desktop.VehicleServiceReference.VehicleServiceServiceSoap)(this)).RentACar(inValue); return(retVal.Body.RentACarResult); }
System.Threading.Tasks.Task <Desktop.VehicleServiceReference.RentACarResponse> Desktop.VehicleServiceReference.VehicleServiceServiceSoap.RentACarAsync(Desktop.VehicleServiceReference.RentACarRequest request) { return(base.Channel.RentACarAsync(request)); }
Desktop.VehicleServiceReference.RentACarResponse Desktop.VehicleServiceReference.VehicleServiceServiceSoap.RentACar(Desktop.VehicleServiceReference.RentACarRequest request) { return(base.Channel.RentACar(request)); }