public int GetEmployee(string LicenseKey, int EmployeeId, out string Name, out string Gender, out System.DateTime DOB, out WebClient.EmployeeService.EmployeeType Type, out int AnnualSalary, out int HourlyPay, out int HoursWorked) { WebClient.EmployeeService.EmployeeRequest inValue = new WebClient.EmployeeService.EmployeeRequest(); inValue.LicenseKey = LicenseKey; inValue.EmployeeId = EmployeeId; WebClient.EmployeeService.EmployeeInfo retVal = ((WebClient.EmployeeService.IEmployeeService)(this)).GetEmployee(inValue); Name = retVal.Name; Gender = retVal.Gender; DOB = retVal.DOB; Type = retVal.Type; AnnualSalary = retVal.AnnualSalary; HourlyPay = retVal.HourlyPay; HoursWorked = retVal.HoursWorked; return(retVal.Id); }
public System.Threading.Tasks.Task <WebClient.EmployeeService.EmployeeInfo> GetEmployeeAsync(WebClient.EmployeeService.EmployeeRequest request) { return(base.Channel.GetEmployeeAsync(request)); }
WebClient.EmployeeService.EmployeeInfo WebClient.EmployeeService.IEmployeeService.GetEmployee(WebClient.EmployeeService.EmployeeRequest request) { return(base.Channel.GetEmployee(request)); }