return anDTO;
}
public void addPayroll(UserDTO agent, int paymentValue) {
Userrecord agentEJB = (Userrecord) manager.find(Userrecord.class, agent.getSsn());
Payroll payrollEJB = new Payroll();
payrollEJB.setAgent(agentEJB);
payrollEJB.setPaymentValue(paymentValue);
persist(payrollEJB);
}