From 37200617eade0a9ddd3ec104f271b32262fe2d8b Mon Sep 17 00:00:00 2001 From: TekH Date: Fri, 16 Jan 2026 10:35:21 +0100 Subject: [PATCH] Remove unused entity-to-DTO mappings from DtoMappingProfile Cleaned up DtoMappingProfile by removing mappings for several domain entities (OutRes, Connection, Endpoint, EndpointAuth, EndpointParam, Profile, RecAction) to their DTOs. Only view-to-DTO mappings remain. Also removed unused using directives. --- src/ReC.Application/Common/Dto/DtoMappingProfile.cs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/ReC.Application/Common/Dto/DtoMappingProfile.cs b/src/ReC.Application/Common/Dto/DtoMappingProfile.cs index 26ba829..d9111c6 100644 --- a/src/ReC.Application/Common/Dto/DtoMappingProfile.cs +++ b/src/ReC.Application/Common/Dto/DtoMappingProfile.cs @@ -1,5 +1,4 @@ -using ReC.Domain.Entities; -using ReC.Domain.Views; +using ReC.Domain.Views; namespace ReC.Application.Common.Dto; @@ -8,16 +7,6 @@ public class DtoMappingProfile : AutoMapper.Profile public DtoMappingProfile() { CreateMap(); - CreateMap(); - - - CreateMap(); - CreateMap(); - CreateMap(); - CreateMap(); - CreateMap(); - CreateMap(); - CreateMap(); CreateMap(); }