示例#1
0
 public System.Threading.Tasks.Task <CarRentalConsoleClient.CarRentalService.AvailableCarsResponse> GetAvailableCarsAsync(string userId, CarRentalConsoleClient.CarRentalService.DateInputs inputs)
 {
     CarRentalConsoleClient.CarRentalService.AvailableCarsRequest inValue = new CarRentalConsoleClient.CarRentalService.AvailableCarsRequest();
     inValue.userId = userId;
     inValue.inputs = inputs;
     return(((CarRentalConsoleClient.CarRentalService.ICarRentalService)(this)).GetAvailableCarsAsync(inValue));
 }
示例#2
0
 public Storage.Car[] GetAvailableCars(string userId, CarRentalConsoleClient.CarRentalService.DateInputs inputs)
 {
     CarRentalConsoleClient.CarRentalService.AvailableCarsRequest inValue = new CarRentalConsoleClient.CarRentalService.AvailableCarsRequest();
     inValue.userId = userId;
     inValue.inputs = inputs;
     CarRentalConsoleClient.CarRentalService.AvailableCarsResponse retVal = ((CarRentalConsoleClient.CarRentalService.ICarRentalService)(this)).GetAvailableCars(inValue);
     return(retVal.result);
 }
示例#3
0
 System.Threading.Tasks.Task <CarRentalConsoleClient.CarRentalService.AvailableCarsResponse> CarRentalConsoleClient.CarRentalService.ICarRentalService.GetAvailableCarsAsync(CarRentalConsoleClient.CarRentalService.AvailableCarsRequest request)
 {
     return(base.Channel.GetAvailableCarsAsync(request));
 }
示例#4
0
 CarRentalConsoleClient.CarRentalService.AvailableCarsResponse CarRentalConsoleClient.CarRentalService.ICarRentalService.GetAvailableCars(CarRentalConsoleClient.CarRentalService.AvailableCarsRequest request)
 {
     return(base.Channel.GetAvailableCars(request));
 }