public int Add(Configuration.ServiceReference1.Employee employee) { Configuration.ServiceReference1.AddRequest inValue = new Configuration.ServiceReference1.AddRequest(); inValue.Body = new Configuration.ServiceReference1.AddRequestBody(); inValue.Body.employee = employee; Configuration.ServiceReference1.AddResponse retVal = ((Configuration.ServiceReference1.ServiceSoap)(this)).Add(inValue); return(retVal.Body.AddResult); }
public System.Threading.Tasks.Task <Configuration.ServiceReference1.AddResponse> AddAsync(Configuration.ServiceReference1.Employee employee) { Configuration.ServiceReference1.AddRequest inValue = new Configuration.ServiceReference1.AddRequest(); inValue.Body = new Configuration.ServiceReference1.AddRequestBody(); inValue.Body.employee = employee; return(((Configuration.ServiceReference1.ServiceSoap)(this)).AddAsync(inValue)); }
public AddRequestBody(Configuration.ServiceReference1.Employee employee) { this.employee = employee; }