Refactor: Rename EmailTemplateQuery to EmailTemplateQueryBase

Refactored the EmailTemplateQuery record to EmailTemplateQueryBase across the codebase. Updated all references, method signatures, inheritance, and documentation to use the new base type. No functional changes; this improves clarity and generalization for email template queries.
This commit is contained in:
2026-02-06 15:19:33 +01:00
parent a8cb8f935c
commit eb96842122
5 changed files with 8 additions and 8 deletions

View File

@@ -82,7 +82,7 @@ public class EmailTemplateController(IMapper mapper, IRepository<EmailTemplate>
/// <response code="401">Wenn der Benutzer nicht authentifiziert ist.</response>
/// <response code="404">Wenn die gesuchte Abfrage nicht gefunden wird.</response>
[HttpPut]
public async Task<IActionResult> Update([FromQuery] EmailTemplateQuery? temp = null, [FromBody] UpdateEmailTemplateCommand? update = null)
public async Task<IActionResult> Update([FromQuery] EmailTemplateQueryBase? temp = null, [FromBody] UpdateEmailTemplateCommand? update = null)
{
if (update is null)
{