Challenge: Department Layers Improvement
Task
This task should be quite simple for you.
Your task is to implement the updateDepartment() method in the DepartmentDaoImpl class and also implement the updateDepartment() and updateDepartmentLocation() methods in the DepartmentServiceImpl class. After completing the task, run the code in the Main class, where the code for testing is already written. There, you can verify the functionality of your methods.
¡Gracias por tus comentarios!
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Can you explain what the `updateDepartment()` method should do?
What should happen if the department with the given ID does not exist?
Do you want to see an example of how to test these methods in the `Main` class?
Awesome!
Completion rate improved to 4.35
Challenge: Department Layers Improvement
Desliza para mostrar el menú
Task
This task should be quite simple for you.
Your task is to implement the updateDepartment() method in the DepartmentDaoImpl class and also implement the updateDepartment() and updateDepartmentLocation() methods in the DepartmentServiceImpl class. After completing the task, run the code in the Main class, where the code for testing is already written. There, you can verify the functionality of your methods.
¡Gracias por tus comentarios!