From 668eef2a4d5663e9dfd56d9ca75734524f23169c Mon Sep 17 00:00:00 2001 From: TekH Date: Thu, 26 Jun 2025 10:00:01 +0200 Subject: [PATCH] Update BaseReadDto namespace and mark as obsolete Replaced the namespace import from `DigitalData.Core.DTO` to `DigitalData.Core.Abstraction.Application.DTO` in `BaseReadDto.cs`. Added an `Obsolete` attribute to indicate deprecation and recommend using `DigitalData.Core.Exceptions and .Middleware` instead. This change enhances code organization and clarity. --- DigitalData.UserManager.Application/DTOs/Base/BaseReadDto.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DigitalData.UserManager.Application/DTOs/Base/BaseReadDto.cs b/DigitalData.UserManager.Application/DTOs/Base/BaseReadDto.cs index 3265439..8d9508c 100644 --- a/DigitalData.UserManager.Application/DTOs/Base/BaseReadDto.cs +++ b/DigitalData.UserManager.Application/DTOs/Base/BaseReadDto.cs @@ -1,7 +1,8 @@ -using DigitalData.Core.DTO; +using DigitalData.Core.Abstraction.Application.DTO; namespace DigitalData.UserManager.Application.DTOs.Base { // TODO: use getter - setter methods for a simple inheritance. + [Obsolete("Use DigitalData.Core.Exceptions and .Middleware")] public record BaseReadDto(int Id, string? AddedWho, DateTime? AddedWhen, string? ChangedWho, DateTime? ChangedWhen) : BaseDTO(Id); } \ No newline at end of file