save

open override fun save(entity: User)

Persists a new user entity in the in-memory repository.

Parameters

entity

The User entity to persist.