From 1c948fcbf82517a61d3284011370c02010a3fb2f Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 9 Feb 2026 09:42:14 +0100 Subject: [PATCH] Simplify command imports in EmailTemplateController Replaced specific Update command import with general Commands namespace import to streamline access to all command classes. No functional changes made. --- EnvelopeGenerator.API/Controllers/EmailTemplateController.cs | 2 +- .../Commands/{Update => }/UpdateEmailTemplateCommand.cs | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename EnvelopeGenerator.Application/EmailTemplates/Commands/{Update => }/UpdateEmailTemplateCommand.cs (100%) diff --git a/EnvelopeGenerator.API/Controllers/EmailTemplateController.cs b/EnvelopeGenerator.API/Controllers/EmailTemplateController.cs index 89f6326d..f2ca3c61 100644 --- a/EnvelopeGenerator.API/Controllers/EmailTemplateController.cs +++ b/EnvelopeGenerator.API/Controllers/EmailTemplateController.cs @@ -1,6 +1,5 @@ using AutoMapper; using EnvelopeGenerator.Application.EmailTemplates; -using EnvelopeGenerator.Application.EmailTemplates.Commands.Update; using EnvelopeGenerator.Application.EmailTemplates.Commands.Reset; using EnvelopeGenerator.Application.EmailTemplates.Queries.Read; using Microsoft.AspNetCore.Authorization; @@ -12,6 +11,7 @@ using DigitalData.Core.Abstraction.Application.Repository; using EnvelopeGenerator.Domain.Entities; using Microsoft.EntityFrameworkCore; using EnvelopeGenerator.Domain.Constants; +using EnvelopeGenerator.Application.EmailTemplates.Commands; namespace EnvelopeGenerator.API.Controllers; diff --git a/EnvelopeGenerator.Application/EmailTemplates/Commands/Update/UpdateEmailTemplateCommand.cs b/EnvelopeGenerator.Application/EmailTemplates/Commands/UpdateEmailTemplateCommand.cs similarity index 100% rename from EnvelopeGenerator.Application/EmailTemplates/Commands/Update/UpdateEmailTemplateCommand.cs rename to EnvelopeGenerator.Application/EmailTemplates/Commands/UpdateEmailTemplateCommand.cs