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