Exemple #1
0
 public int GetEmployee(string LicenseKey, int EmployeeId, out string Name, out string Gender, out System.DateTime DOB, out WCFClientApplication.EmployeeService.EmployeeType Type, out int AnnualSalary, out int HourlyPay, out int HoursWorked)
 {
     WCFClientApplication.EmployeeService.EmplpoyeeRequest inValue = new WCFClientApplication.EmployeeService.EmplpoyeeRequest();
     inValue.LicenseKey = LicenseKey;
     inValue.EmployeeId = EmployeeId;
     WCFClientApplication.EmployeeService.EmployeeInfo retVal = ((WCFClientApplication.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);
 }
Exemple #2
0
 public System.Threading.Tasks.Task <WCFClientApplication.EmployeeService.EmployeeInfo> GetEmployeeAsync(WCFClientApplication.EmployeeService.EmplpoyeeRequest request)
 {
     return(base.Channel.GetEmployeeAsync(request));
 }
Exemple #3
0
 WCFClientApplication.EmployeeService.EmployeeInfo WCFClientApplication.EmployeeService.IEmployeeService.GetEmployee(WCFClientApplication.EmployeeService.EmplpoyeeRequest request)
 {
     return(base.Channel.GetEmployee(request));
 }