Example #1
0
 public System.Threading.Tasks.Task <HomeWork_2_8_Client.ServiceReferenceASMX.GetEmployeesResponse> GetEmployeesAsync(int IdDepartment)
 {
     HomeWork_2_8_Client.ServiceReferenceASMX.GetEmployeesRequest inValue = new HomeWork_2_8_Client.ServiceReferenceASMX.GetEmployeesRequest();
     inValue.Body = new HomeWork_2_8_Client.ServiceReferenceASMX.GetEmployeesRequestBody();
     inValue.Body.IdDepartment = IdDepartment;
     return(((HomeWork_2_8_Client.ServiceReferenceASMX.WebService1Soap)(this)).GetEmployeesAsync(inValue));
 }
Example #2
0
 public HomeWork_2_8_Client.ServiceReferenceASMX.Employee[] GetEmployees(int IdDepartment)
 {
     HomeWork_2_8_Client.ServiceReferenceASMX.GetEmployeesRequest inValue = new HomeWork_2_8_Client.ServiceReferenceASMX.GetEmployeesRequest();
     inValue.Body = new HomeWork_2_8_Client.ServiceReferenceASMX.GetEmployeesRequestBody();
     inValue.Body.IdDepartment = IdDepartment;
     HomeWork_2_8_Client.ServiceReferenceASMX.GetEmployeesResponse retVal = ((HomeWork_2_8_Client.ServiceReferenceASMX.WebService1Soap)(this)).GetEmployees(inValue);
     return(retVal.Body.GetEmployeesResult);
 }
Example #3
0
 System.Threading.Tasks.Task <HomeWork_2_8_Client.ServiceReferenceASMX.GetEmployeesResponse> HomeWork_2_8_Client.ServiceReferenceASMX.WebService1Soap.GetEmployeesAsync(HomeWork_2_8_Client.ServiceReferenceASMX.GetEmployeesRequest request)
 {
     return(base.Channel.GetEmployeesAsync(request));
 }
Example #4
0
 HomeWork_2_8_Client.ServiceReferenceASMX.GetEmployeesResponse HomeWork_2_8_Client.ServiceReferenceASMX.WebService1Soap.GetEmployees(HomeWork_2_8_Client.ServiceReferenceASMX.GetEmployeesRequest request)
 {
     return(base.Channel.GetEmployees(request));
 }