Beispiel #1
0
 public bool Delete(Vueling.Presentation.ServiceReference.Rebel rebel)
 {
     Vueling.Presentation.ServiceReference.DeleteRequest inValue = new Vueling.Presentation.ServiceReference.DeleteRequest();
     inValue.Body       = new Vueling.Presentation.ServiceReference.DeleteRequestBody();
     inValue.Body.rebel = rebel;
     Vueling.Presentation.ServiceReference.DeleteResponse retVal = ((Vueling.Presentation.ServiceReference.WebServiceSoap)(this)).Delete(inValue);
     return(retVal.Body.DeleteResult);
 }
Beispiel #2
0
 public bool Update(Vueling.Presentation.ServiceReference.Rebel rebel, string newName, string newPlanet)
 {
     Vueling.Presentation.ServiceReference.UpdateRequest inValue = new Vueling.Presentation.ServiceReference.UpdateRequest();
     inValue.Body           = new Vueling.Presentation.ServiceReference.UpdateRequestBody();
     inValue.Body.rebel     = rebel;
     inValue.Body.newName   = newName;
     inValue.Body.newPlanet = newPlanet;
     Vueling.Presentation.ServiceReference.UpdateResponse retVal = ((Vueling.Presentation.ServiceReference.WebServiceSoap)(this)).Update(inValue);
     return(retVal.Body.UpdateResult);
 }
Beispiel #3
0
 public System.Threading.Tasks.Task <Vueling.Presentation.ServiceReference.DeleteResponse> DeleteAsync(Vueling.Presentation.ServiceReference.Rebel rebel)
 {
     Vueling.Presentation.ServiceReference.DeleteRequest inValue = new Vueling.Presentation.ServiceReference.DeleteRequest();
     inValue.Body       = new Vueling.Presentation.ServiceReference.DeleteRequestBody();
     inValue.Body.rebel = rebel;
     return(((Vueling.Presentation.ServiceReference.WebServiceSoap)(this)).DeleteAsync(inValue));
 }
Beispiel #4
0
 public System.Threading.Tasks.Task <Vueling.Presentation.ServiceReference.UpdateResponse> UpdateAsync(Vueling.Presentation.ServiceReference.Rebel rebel, string newName, string newPlanet)
 {
     Vueling.Presentation.ServiceReference.UpdateRequest inValue = new Vueling.Presentation.ServiceReference.UpdateRequest();
     inValue.Body           = new Vueling.Presentation.ServiceReference.UpdateRequestBody();
     inValue.Body.rebel     = rebel;
     inValue.Body.newName   = newName;
     inValue.Body.newPlanet = newPlanet;
     return(((Vueling.Presentation.ServiceReference.WebServiceSoap)(this)).UpdateAsync(inValue));
 }
Beispiel #5
0
 public DeleteRequestBody(Vueling.Presentation.ServiceReference.Rebel rebel)
 {
     this.rebel = rebel;
 }
Beispiel #6
0
 public UpdateRequestBody(Vueling.Presentation.ServiceReference.Rebel rebel, string newName, string newPlanet)
 {
     this.rebel     = rebel;
     this.newName   = newName;
     this.newPlanet = newPlanet;
 }
Beispiel #7
0
 public GetByIdResponseBody(Vueling.Presentation.ServiceReference.Rebel GetByIdResult)
 {
     this.GetByIdResult = GetByIdResult;
 }