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