public int GetEmployeeMessageContract(string LicenseKey, int EmployeeID, out string Name, out string Gender, out System.DateTime DOB, out EmployeeWebClient.EmployeeService.EmployeeType Type, out int AnnualSalary, out int HourlyPay, out int HoursWorked) { EmployeeWebClient.EmployeeService.EmployeeRequest inValue = new EmployeeWebClient.EmployeeService.EmployeeRequest(); inValue.LicenseKey = LicenseKey; inValue.EmployeeID = EmployeeID; EmployeeWebClient.EmployeeService.EmployeeInfo retVal = ((EmployeeWebClient.EmployeeService.IEmployeeService)(this)).GetEmployeeMessageContract(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 int GetEmployee(string LicenseKey, int EmployeeId, out string Name, out string Gender, out System.DateTime DoB, out EmployeeWebClient.EmployeeService.EmployeeType Type, out int MonthlySalary, out int HourlyPay, out int HoursWorked) { EmployeeWebClient.EmployeeService.EmployeeRequest inValue = new EmployeeWebClient.EmployeeService.EmployeeRequest(); inValue.LicenseKey = LicenseKey; inValue.EmployeeId = EmployeeId; EmployeeWebClient.EmployeeService.EmployeeInfo retVal = ((EmployeeWebClient.EmployeeService.IEmployeeService)(this)).GetEmployee(inValue); Name = retVal.Name; Gender = retVal.Gender; DoB = retVal.DoB; Type = retVal.Type; MonthlySalary = retVal.MonthlySalary; HourlyPay = retVal.HourlyPay; HoursWorked = retVal.HoursWorked; return(retVal.Id); }
public System.Threading.Tasks.Task <EmployeeWebClient.EmployeeService.EmployeeInfo> GetEmployeeMessageContractAsync(EmployeeWebClient.EmployeeService.EmployeeRequest request) { return(base.Channel.GetEmployeeMessageContractAsync(request)); }
EmployeeWebClient.EmployeeService.EmployeeInfo EmployeeWebClient.EmployeeService.IEmployeeService.GetEmployeeMessageContract(EmployeeWebClient.EmployeeService.EmployeeRequest request) { return(base.Channel.GetEmployeeMessageContract(request)); }
EmployeeWebClient.EmployeeService.EmployeeInfo EmployeeWebClient.EmployeeService.IEmployeeService.GetEmployee(EmployeeWebClient.EmployeeService.EmployeeRequest request) { return(base.Channel.GetEmployee(request)); }