public System.Threading.Tasks.Task <ConsumeData.SchoolServiceReference.AddResponse> AddAsync(int IdStudent, string NameStudent) { ConsumeData.SchoolServiceReference.AddRequest inValue = new ConsumeData.SchoolServiceReference.AddRequest(); inValue.Body = new ConsumeData.SchoolServiceReference.AddRequestBody(); inValue.Body.IdStudent = IdStudent; inValue.Body.NameStudent = NameStudent; return(((ConsumeData.SchoolServiceReference.WebService1Soap)(this)).AddAsync(inValue)); }
public string Add(int IdStudent, string NameStudent) { ConsumeData.SchoolServiceReference.AddRequest inValue = new ConsumeData.SchoolServiceReference.AddRequest(); inValue.Body = new ConsumeData.SchoolServiceReference.AddRequestBody(); inValue.Body.IdStudent = IdStudent; inValue.Body.NameStudent = NameStudent; ConsumeData.SchoolServiceReference.AddResponse retVal = ((ConsumeData.SchoolServiceReference.WebService1Soap)(this)).Add(inValue); return(retVal.Body.AddResult); }
System.Threading.Tasks.Task <ConsumeData.SchoolServiceReference.AddResponse> ConsumeData.SchoolServiceReference.WebService1Soap.AddAsync(ConsumeData.SchoolServiceReference.AddRequest request) { return(base.Channel.AddAsync(request)); }
ConsumeData.SchoolServiceReference.AddResponse ConsumeData.SchoolServiceReference.WebService1Soap.Add(ConsumeData.SchoolServiceReference.AddRequest request) { return(base.Channel.Add(request)); }