Move save logic of "save" from EntityManager to Repository