Esempio n. 1
0
 public static void terminateEmployee(Employee employee) {
   EmployeeDAO employeeDAO = new EmployeeDAO();
   employeeDAO.deleteEmployee(employee);
   System.out.println("Terminating employee...");
 }
Esempio n. 2
0
 public static void hireNewEmployee(Employee employee) {
   EmployeeDAO employeeDAO = new EmployeeDAO();
   employeeDAO.saveEmployee(employee);
   System.out.println("Hiring new employee...");
 }