- Updated `UpdateEmailTemplateCommand` to use a property for `EmailTemplateQuery` with `JsonIgnore`, allowing optional body and subject parameters. - Simplified `UpdateToDefaultCommand` by removing documentation comments and constructor parameters. - Corrected namespace for `ReadEmailTemplateQuery` from `Query.Read` to `Queries.Read`. - Introduced `ResetEnvelopeTemplateCommand` with optional ID and type, inheriting from `EmailTemplateQuery`, along with detailed XML documentation. - Added `EmailTemplateController` to manage email templates, including methods for retrieval and updates, utilizing AutoMapper and authorization attributes.
11 lines
287 B
C#
11 lines
287 B
C#
namespace EnvelopeGenerator.Application.EmailTemplates.Queries.Read;
|
|
|
|
|
|
/// <summary>
|
|
/// Stellt eine Abfrage dar, um eine E-Mail-Vorlage zu lesen.
|
|
/// Diese Klasse erbt von <see cref="EmailTemplateQuery"/>.
|
|
/// </summary>
|
|
public record ReadEmailTemplateQuery : EmailTemplateQuery
|
|
{
|
|
}
|