diff --git a/src/ReC.Application/OutResults/Commands/DeleteOutResCommand.cs b/src/ReC.Application/OutResults/Commands/DeleteOutResCommand.cs index c92552a..838357b 100644 --- a/src/ReC.Application/OutResults/Commands/DeleteOutResCommand.cs +++ b/src/ReC.Application/OutResults/Commands/DeleteOutResCommand.cs @@ -11,6 +11,7 @@ namespace ReC.Application.OutResults.Commands; /// Deletion can be performed by providing either an or a . /// At least one of these properties must be set for the operation to proceed. /// +[Obsolete("Use the related procedure or view.")] public record DeleteOutResCommand : IRequest { /// @@ -27,6 +28,7 @@ public record DeleteOutResCommand : IRequest /// /// Handles the execution of the . /// +[Obsolete("Use the related procedure or view.")] public class DeleteOutResCommandHandler(IRepository repo) : IRequestHandler { /// diff --git a/src/ReC.Application/OutResults/Commands/DeleteOutResCommandValidator.cs b/src/ReC.Application/OutResults/Commands/DeleteOutResCommandValidator.cs index 843a6cd..a8ef362 100644 --- a/src/ReC.Application/OutResults/Commands/DeleteOutResCommandValidator.cs +++ b/src/ReC.Application/OutResults/Commands/DeleteOutResCommandValidator.cs @@ -2,6 +2,7 @@ using FluentValidation; namespace ReC.Application.OutResults.Commands; +[Obsolete("Use the related procedure or view.")] public class DeleteOutResCommandValidator : AbstractValidator { public DeleteOutResCommandValidator()