return repository.get(id);
}
public Employee registerEmployee(String fname, String lname, String email, String password, Long securityQuestionID, String securityAnswer
, String ssn, String jobTitle, Date dateOfHire, String deptCode, Double salary) {
SecurityQuestion secQuestion = new SecurityQuestionService().getById(securityQuestionID);
Person person = new Person(email, password, secQuestion, securityAnswer);
return store(new Employee(fname, lname, ssn, jobTitle, dateOfHire, deptCode, salary, person));
}