public int GetEmployee(int EmployeeId, string LicenseKey, out string Name, out string Gender, out System.DateTime DOB) { MessageContractDemoClient.EmployeeServiceHttp.EmployeeRequest inValue = new MessageContractDemoClient.EmployeeServiceHttp.EmployeeRequest(); inValue.EmployeeId = EmployeeId; inValue.LicenseKey = LicenseKey; MessageContractDemoClient.EmployeeServiceHttp.EmployeeInfo retVal = ((MessageContractDemoClient.EmployeeServiceHttp.IEmployeeService)(this)).GetEmployee(inValue); Name = retVal.Name; Gender = retVal.Gender; DOB = retVal.DOB; return(retVal.ID); }
public System.Threading.Tasks.Task <MessageContractDemoClient.EmployeeServiceHttp.EmployeeInfo> GetEmployeeAsync(MessageContractDemoClient.EmployeeServiceHttp.EmployeeRequest request) { return(base.Channel.GetEmployeeAsync(request)); }
MessageContractDemoClient.EmployeeServiceHttp.EmployeeInfo MessageContractDemoClient.EmployeeServiceHttp.IEmployeeService.GetEmployee(MessageContractDemoClient.EmployeeServiceHttp.EmployeeRequest request) { return(base.Channel.GetEmployee(request)); }