Пример #1
0
 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));
 }
Пример #2
0
 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);
 }
Пример #3
0
 System.Threading.Tasks.Task <ConsumeData.SchoolServiceReference.AddResponse> ConsumeData.SchoolServiceReference.WebService1Soap.AddAsync(ConsumeData.SchoolServiceReference.AddRequest request)
 {
     return(base.Channel.AddAsync(request));
 }
Пример #4
0
 ConsumeData.SchoolServiceReference.AddResponse ConsumeData.SchoolServiceReference.WebService1Soap.Add(ConsumeData.SchoolServiceReference.AddRequest request)
 {
     return(base.Channel.Add(request));
 }