From 5e4f11314523aaf1d6af2a0b91d55ea983eca004 Mon Sep 17 00:00:00 2001 From: TekH Date: Thu, 27 Nov 2025 09:16:42 +0100 Subject: [PATCH] Refactor namespaces for DTO classes Updated `DtoMappingProfile` and `RecActionDto` to use the `ReC.Application.Common.Dto` namespace instead of `ReC.Application.Dto`. Adjusted `ReadRecActionQuery` to reflect this namespace change. No functional changes were introduced. --- src/ReC.Application/{ => Common}/Dto/DtoMappingProfile.cs | 2 +- src/ReC.Application/{ => Common}/Dto/RecActionDto.cs | 2 +- src/ReC.Application/RecActions/Queries/ReadRecActionQuery.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/ReC.Application/{ => Common}/Dto/DtoMappingProfile.cs (82%) rename src/ReC.Application/{ => Common}/Dto/RecActionDto.cs (97%) diff --git a/src/ReC.Application/Dto/DtoMappingProfile.cs b/src/ReC.Application/Common/Dto/DtoMappingProfile.cs similarity index 82% rename from src/ReC.Application/Dto/DtoMappingProfile.cs rename to src/ReC.Application/Common/Dto/DtoMappingProfile.cs index 5aa9fa4..7a2c012 100644 --- a/src/ReC.Application/Dto/DtoMappingProfile.cs +++ b/src/ReC.Application/Common/Dto/DtoMappingProfile.cs @@ -1,7 +1,7 @@ using AutoMapper; using ReC.Domain.Entities; -namespace ReC.Application.Dto; +namespace ReC.Application.Common.Dto; public class DtoMappingProfile : Profile { diff --git a/src/ReC.Application/Dto/RecActionDto.cs b/src/ReC.Application/Common/Dto/RecActionDto.cs similarity index 97% rename from src/ReC.Application/Dto/RecActionDto.cs rename to src/ReC.Application/Common/Dto/RecActionDto.cs index a80b6b3..71bdedd 100644 --- a/src/ReC.Application/Dto/RecActionDto.cs +++ b/src/ReC.Application/Common/Dto/RecActionDto.cs @@ -1,4 +1,4 @@ -namespace ReC.Application.Dto; +namespace ReC.Application.Common.Dto; public class RecActionDto { diff --git a/src/ReC.Application/RecActions/Queries/ReadRecActionQuery.cs b/src/ReC.Application/RecActions/Queries/ReadRecActionQuery.cs index bc023d8..7d7c769 100644 --- a/src/ReC.Application/RecActions/Queries/ReadRecActionQuery.cs +++ b/src/ReC.Application/RecActions/Queries/ReadRecActionQuery.cs @@ -1,10 +1,10 @@ using MediatR; -using ReC.Application.Dto; using DigitalData.Core.Abstraction.Application.Repository; using ReC.Domain.Entities; using AutoMapper; using Microsoft.EntityFrameworkCore; using DigitalData.Core.Exceptions; +using ReC.Application.Common.Dto; namespace ReC.Application.RecActions.Queries;