Database 2

middle in dao design
Why are you loading just stored note from DB? I propose to update ID on existing note and return it.