public int GetEmployee(string LicenseKey, int EmployeeId, out string Name, out string Gender, out System.DateTime DOB, out EmployeeClient.EmployeeService.EmployeeType Type, out int AnnualSalary, out int HourlyPay, out int HoursWorked) { EmployeeClient.EmployeeService.EmployeeRequest inValue = new EmployeeClient.EmployeeService.EmployeeRequest(); inValue.LicenseKey = LicenseKey; inValue.EmployeeId = EmployeeId; EmployeeClient.EmployeeService.EmployeeInfo retVal = ((EmployeeClient.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 <EmployeeClient.EmployeeService.EmployeeInfo> GetEmployeeAsync(EmployeeClient.EmployeeService.EmployeeRequest request) { return(base.Channel.GetEmployeeAsync(request)); }
EmployeeClient.EmployeeService.EmployeeInfo EmployeeClient.EmployeeService.IEmployeeService.GetEmployee(EmployeeClient.EmployeeService.EmployeeRequest request) { return(base.Channel.GetEmployee(request)); }