Example #1
0
 public int GetEmployeeKnownType(string LicenseKey, int EmployeeId, out string Name, out string Gender, out System.DateTime DOB, out ClientWebApplication.EmployeeService.EmployeeType EmployeeType, out int AnnualSalary, out int HourlyPay, out int HoursWorked)
 {
     ClientWebApplication.EmployeeService.EmployeeRequest inValue = new ClientWebApplication.EmployeeService.EmployeeRequest();
     inValue.LicenseKey = LicenseKey;
     inValue.EmployeeId = EmployeeId;
     ClientWebApplication.EmployeeService.EmployeeInfo retVal = ((ClientWebApplication.EmployeeService.IEmployeeService)(this)).GetEmployeeKnownType(inValue);
     Name         = retVal.Name;
     Gender       = retVal.Gender;
     DOB          = retVal.DOB;
     EmployeeType = retVal.EmployeeType;
     AnnualSalary = retVal.AnnualSalary;
     HourlyPay    = retVal.HourlyPay;
     HoursWorked  = retVal.HoursWorked;
     return(retVal.Id);
 }
Example #2
0
 public System.Threading.Tasks.Task <ClientWebApplication.EmployeeService.EmployeeInfo> GetEmployeeKnownTypeAsync(ClientWebApplication.EmployeeService.EmployeeRequest request)
 {
     return(base.Channel.GetEmployeeKnownTypeAsync(request));
 }
Example #3
0
 ClientWebApplication.EmployeeService.EmployeeInfo ClientWebApplication.EmployeeService.IEmployeeService.GetEmployeeKnownType(ClientWebApplication.EmployeeService.EmployeeRequest request)
 {
     return(base.Channel.GetEmployeeKnownType(request));
 }