Exemplo n.º 1
0
 public bool InserirEmpresa(NewAereo.ServiceReference.Empresa empresa)
 {
     NewAereo.ServiceReference.InserirEmpresaRequest inValue = new NewAereo.ServiceReference.InserirEmpresaRequest();
     inValue.Body         = new NewAereo.ServiceReference.InserirEmpresaRequestBody();
     inValue.Body.empresa = empresa;
     NewAereo.ServiceReference.InserirEmpresaResponse retVal = ((NewAereo.ServiceReference.WebServiceSoap)(this)).InserirEmpresa(inValue);
     return(retVal.Body.InserirEmpresaResult);
 }
Exemplo n.º 2
0
 public InserirEmpresaRequestBody(NewAereo.ServiceReference.Empresa empresa)
 {
     this.empresa = empresa;
 }
Exemplo n.º 3
0
 public System.Threading.Tasks.Task <NewAereo.ServiceReference.InserirEmpresaResponse> InserirEmpresaAsync(NewAereo.ServiceReference.Empresa empresa)
 {
     NewAereo.ServiceReference.InserirEmpresaRequest inValue = new NewAereo.ServiceReference.InserirEmpresaRequest();
     inValue.Body         = new NewAereo.ServiceReference.InserirEmpresaRequestBody();
     inValue.Body.empresa = empresa;
     return(((NewAereo.ServiceReference.WebServiceSoap)(this)).InserirEmpresaAsync(inValue));
 }