Exemple #1
0
 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));
 }
Exemple #2
0
 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);
 }
Exemple #3
0
 System.Threading.Tasks.Task <Desktop.VehicleServiceReference.RentACarResponse> Desktop.VehicleServiceReference.VehicleServiceServiceSoap.RentACarAsync(Desktop.VehicleServiceReference.RentACarRequest request)
 {
     return(base.Channel.RentACarAsync(request));
 }
Exemple #4
0
 Desktop.VehicleServiceReference.RentACarResponse Desktop.VehicleServiceReference.VehicleServiceServiceSoap.RentACar(Desktop.VehicleServiceReference.RentACarRequest request)
 {
     return(base.Channel.RentACar(request));
 }