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); }
public InserirEmpresaRequestBody(NewAereo.ServiceReference.Empresa empresa) { this.empresa = empresa; }
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)); }