SpringMvcStepByStep
SpringMvcStepByStep copied to clipboard
Edit Todo
When editing Todo (Step 28), seems like it is adding a new Todo with new desc and not deleting the old todo that is in code in TodoService.java
(updateTodo function)
I don't understand how does the updateTodo function in TodoService.java
removes the existing todo and add a new todo as it doesn't work when I try doing that.