the simple final project

my simple final project
Why return an ID instead of just returning the entity?  You're loading the entity anyways, so making the caller do extra work to get the entity after getting the ID (if they want the entity) is not optimal.