create

Creates a Note and saves it to the given repository.

Return

The saved note instance

See also

Throws

if the note id from the primitives isn't valid

if the note id is already used on the repository

if the title isn't valid