Mark IBaseService as obsolete for MediatR usage

Added an `Obsolete` attribute to the `IBaseService` interface, recommending the use of MediatR instead. This change serves as a warning to developers about potential deprecation, encouraging a transition to the suggested alternative.
This commit is contained in:
tekh 2025-06-25 16:04:27 +02:00
parent cc708cae0c
commit 8f2ec82d4f

View File

@ -5,6 +5,7 @@ using DigitalData.Core.Abstraction.Application;
namespace DigitalData.UserManager.Application.Contracts
{
[Obsolete("Use MediatR")]
public interface IBaseService<TCreateDto, TReadDto, TBaseEntity> : ICRUDService<TCreateDto, TReadDto, TBaseEntity, int>
where TCreateDto : BaseCreateDto
where TReadDto : class