Example #1
0
 public System.Threading.Tasks.Task SaveEmployeeAsync(int Id, string Name, string Gender, System.DateTime DOB, WCFClientApplication.EmployeeService.EmployeeType Type, int AnnualSalary, int HourlyPay, int HoursWorked)
 {
     WCFClientApplication.EmployeeService.EmployeeInfo inValue = new WCFClientApplication.EmployeeService.EmployeeInfo();
     inValue.Id           = Id;
     inValue.Name         = Name;
     inValue.Gender       = Gender;
     inValue.DOB          = DOB;
     inValue.Type         = Type;
     inValue.AnnualSalary = AnnualSalary;
     inValue.HourlyPay    = HourlyPay;
     inValue.HoursWorked  = HoursWorked;
     return(((WCFClientApplication.EmployeeService.IEmployeeService)(this)).SaveEmployeeAsync(inValue));
 }
Example #2
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);
 }
Example #3
0
 System.Threading.Tasks.Task WCFClientApplication.EmployeeService.IEmployeeService.SaveEmployeeAsync(WCFClientApplication.EmployeeService.EmployeeInfo request)
 {
     return(base.Channel.SaveEmployeeAsync(request));
 }
Example #4
0
 void WCFClientApplication.EmployeeService.IEmployeeService.SaveEmployee(WCFClientApplication.EmployeeService.EmployeeInfo request)
 {
     base.Channel.SaveEmployee(request);
 }