save

fun <X : T> save(entity: X): X

Saves the given entity to this repository. If an entity with the given entity id (VitalEntity.id) already exists in this repository, it will be deleted via delete and then overridden