When overriding TemplateContentAppService to support both default (definition-based) and dynamic templates, neither the update (PUT /api/text-template-management/template-contents) nor the restore-to-default (POST /restore-to-default) endpoints persist changes to the database.
How should both template types (default + dynamic) be updated correctly?
Are default templates intended to persist in the DB, or always in-memory via TemplateDefinitionProvider?
What is the recommended approach for unified update/restore behavior in TextTemplateManagement?