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.
Obrigado pelo seu feedback!
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
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
Deslize para mostrar o menu
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.
Obrigado pelo seu feedback!