Recently the entity OpenAIPrompt was added which is representing data for AI settings. Then, Create, Read, Update, and Delete endpoint should be added within Admin section.
Acceptance criteria:
- Controller AiPromptoController to be added. It should contain: Create endpoint, Search all prompts endpoint (non-paginated list), Update one entity, Delete entity
- DTO OpenAiPromtDto to be added. It should contain all props from the database entity
- Role demand: Admin
- Base route: /api/admin/ai-prompts
Use existing code as an example