public EmployeeProcessOutput RetrieveEmployee(EmployeeProcessInput input)
{     
      var employee = input.Employee;
      if (input.EmployeeId == null)
          employee= CreateEmployee(employee);
      return new EmployeeProcessOutput
            {
                Employee = employee,
                State = "Stored" 
            };
}
private Employee CreateEmployee(employee)
{
      //Call a service to create an employee in the system using the employee 
      //info such as name, address etc and will generate an id and other 
      //employee info.
      var output = Service(employee)
      var employee = output.Employee;
      return employee;
 }
Is there a clean way and of passing the employee parameter to the CreateEmployee method. I feel that this line could be cleaner:
employee = CreateEmployee(employee);
Any thoughts?
 
     
     
     
    