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.
8 lines
388 B
C#
8 lines
388 B
C#
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<int>(Id);
|
|
} |