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