From fbbc05814fcbdffd63bad8c98b02f1c58f926268 Mon Sep 17 00:00:00 2001 From: TekH Date: Tue, 9 Sep 2025 18:56:18 +0200 Subject: [PATCH] refactor(DocumentReceiverElementDto): rename as SignatureDto --- EnvelopeGenerator.Application/Common/Dto/DocumentDto.cs | 2 +- EnvelopeGenerator.Application/Common/Dto/MappingProfile.cs | 4 ++-- .../Dto/{DocumentReceiverElementDto.cs => SignatureDto.cs} | 2 +- .../Interfaces/Services/IDocumentReceiverElementService.cs | 2 +- .../Services/DocumentReceiverElementService.cs | 2 +- .../Controllers/Test/TestDocumentReceiverElementController.cs | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) rename EnvelopeGenerator.Application/Common/Dto/{DocumentReceiverElementDto.cs => SignatureDto.cs} (98%) diff --git a/EnvelopeGenerator.Application/Common/Dto/DocumentDto.cs b/EnvelopeGenerator.Application/Common/Dto/DocumentDto.cs index a6d705d7..cdacfc8b 100644 --- a/EnvelopeGenerator.Application/Common/Dto/DocumentDto.cs +++ b/EnvelopeGenerator.Application/Common/Dto/DocumentDto.cs @@ -31,5 +31,5 @@ public class DocumentDto /// /// Gets or sets the collection of elements associated with the document for receiver interactions, if any. /// - public IEnumerable? Elements { get; set; } + public IEnumerable? Elements { get; set; } } \ No newline at end of file diff --git a/EnvelopeGenerator.Application/Common/Dto/MappingProfile.cs b/EnvelopeGenerator.Application/Common/Dto/MappingProfile.cs index 858e4fb3..68f37fc9 100644 --- a/EnvelopeGenerator.Application/Common/Dto/MappingProfile.cs +++ b/EnvelopeGenerator.Application/Common/Dto/MappingProfile.cs @@ -24,7 +24,7 @@ public class MappingProfile : Profile { // Entity to DTO mappings CreateMap(); - CreateMap(); + CreateMap(); CreateMap(); CreateMap(); CreateMap(); @@ -40,7 +40,7 @@ public class MappingProfile : Profile // DTO to Entity mappings CreateMap(); - CreateMap(); + CreateMap(); CreateMap(); CreateMap(); CreateMap(); diff --git a/EnvelopeGenerator.Application/Common/Dto/DocumentReceiverElementDto.cs b/EnvelopeGenerator.Application/Common/Dto/SignatureDto.cs similarity index 98% rename from EnvelopeGenerator.Application/Common/Dto/DocumentReceiverElementDto.cs rename to EnvelopeGenerator.Application/Common/Dto/SignatureDto.cs index a318efcd..187936fb 100644 --- a/EnvelopeGenerator.Application/Common/Dto/DocumentReceiverElementDto.cs +++ b/EnvelopeGenerator.Application/Common/Dto/SignatureDto.cs @@ -6,7 +6,7 @@ namespace EnvelopeGenerator.Application.Common.Dto; /// Data Transfer Object representing a positioned element assigned to a document receiver. /// [ApiExplorerSettings(IgnoreApi = true)] -public class DocumentReceiverElementDto +public class SignatureDto { /// /// Gets or sets the unique identifier of the element. diff --git a/EnvelopeGenerator.Application/Interfaces/Services/IDocumentReceiverElementService.cs b/EnvelopeGenerator.Application/Interfaces/Services/IDocumentReceiverElementService.cs index 2df8f22f..8ee530f5 100644 --- a/EnvelopeGenerator.Application/Interfaces/Services/IDocumentReceiverElementService.cs +++ b/EnvelopeGenerator.Application/Interfaces/Services/IDocumentReceiverElementService.cs @@ -8,6 +8,6 @@ namespace EnvelopeGenerator.Application.Interfaces.Services; /// /// [Obsolete("Use MediatR")] -public interface IDocumentReceiverElementService : IBasicCRUDService +public interface IDocumentReceiverElementService : IBasicCRUDService { } \ No newline at end of file diff --git a/EnvelopeGenerator.Application/Services/DocumentReceiverElementService.cs b/EnvelopeGenerator.Application/Services/DocumentReceiverElementService.cs index 3c47cff3..5a8e5719 100644 --- a/EnvelopeGenerator.Application/Services/DocumentReceiverElementService.cs +++ b/EnvelopeGenerator.Application/Services/DocumentReceiverElementService.cs @@ -11,7 +11,7 @@ namespace EnvelopeGenerator.Application.Services; /// /// [Obsolete("Use MediatR")] -public class DocumentReceiverElementService : BasicCRUDService, IDocumentReceiverElementService +public class DocumentReceiverElementService : BasicCRUDService, IDocumentReceiverElementService { /// /// diff --git a/EnvelopeGenerator.Web/Controllers/Test/TestDocumentReceiverElementController.cs b/EnvelopeGenerator.Web/Controllers/Test/TestDocumentReceiverElementController.cs index 0c0d4592..eee819f8 100644 --- a/EnvelopeGenerator.Web/Controllers/Test/TestDocumentReceiverElementController.cs +++ b/EnvelopeGenerator.Web/Controllers/Test/TestDocumentReceiverElementController.cs @@ -5,7 +5,7 @@ using EnvelopeGenerator.Application.Common.Dto; namespace EnvelopeGenerator.Web.Controllers.Test; [Obsolete("Use MediatR")] -public class TestDocumentReceiverElementController : TestControllerBase +public class TestDocumentReceiverElementController : TestControllerBase { public TestDocumentReceiverElementController(ILogger logger, IDocumentReceiverElementService service) : base(logger, service) {