From b3dfdd1e5c5c0fd5552025bf814c5206e58b5e75 Mon Sep 17 00:00:00 2001 From: TekH Date: Thu, 26 Mar 2026 16:52:54 +0100 Subject: [PATCH] Update namespaces to Common.Dto for DTO-related files Refactored PlaceholderExtensions, DtoMappingProfile, and InvokeActionTests to use the ReC.Application.Common.Dto namespace instead of ReC.Application.Common.Behaviors.Action. Updated using directives and namespaces to improve code organization for DTO-related logic. --- src/ReC.Application/Common/Dto/DtoMappingProfile.cs | 1 - .../Common/{Behaviors/Action => Dto}/PlaceholderExtensions.cs | 2 +- tests/ReC.Tests/Application/Behaviors/InvokeActionTests.cs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) rename src/ReC.Application/Common/{Behaviors/Action => Dto}/PlaceholderExtensions.cs (97%) diff --git a/src/ReC.Application/Common/Dto/DtoMappingProfile.cs b/src/ReC.Application/Common/Dto/DtoMappingProfile.cs index beec95f..3902ae6 100644 --- a/src/ReC.Application/Common/Dto/DtoMappingProfile.cs +++ b/src/ReC.Application/Common/Dto/DtoMappingProfile.cs @@ -1,4 +1,3 @@ -using ReC.Application.Common.Behaviors.Action; using ReC.Domain.Views; namespace ReC.Application.Common.Dto; diff --git a/src/ReC.Application/Common/Behaviors/Action/PlaceholderExtensions.cs b/src/ReC.Application/Common/Dto/PlaceholderExtensions.cs similarity index 97% rename from src/ReC.Application/Common/Behaviors/Action/PlaceholderExtensions.cs rename to src/ReC.Application/Common/Dto/PlaceholderExtensions.cs index 2433dfb..35a864f 100644 --- a/src/ReC.Application/Common/Behaviors/Action/PlaceholderExtensions.cs +++ b/src/ReC.Application/Common/Dto/PlaceholderExtensions.cs @@ -3,7 +3,7 @@ using System.Reflection; using System.Text.RegularExpressions; using ReC.Application.Common.Exceptions; -namespace ReC.Application.Common.Behaviors.Action; +namespace ReC.Application.Common.Dto; public static partial class PlaceholderExtensions { diff --git a/tests/ReC.Tests/Application/Behaviors/InvokeActionTests.cs b/tests/ReC.Tests/Application/Behaviors/InvokeActionTests.cs index 10ec969..9ac80ad 100644 --- a/tests/ReC.Tests/Application/Behaviors/InvokeActionTests.cs +++ b/tests/ReC.Tests/Application/Behaviors/InvokeActionTests.cs @@ -1,5 +1,5 @@ using System.ComponentModel.DataAnnotations.Schema; -using ReC.Application.Common.Behaviors.Action; +using ReC.Application.Common.Dto; using ReC.Application.Common.Exceptions; namespace ReC.Tests.Application.Behaviors;