diff --git a/src/ReC.Application/OutResults/Commands/DeleteOutResCommandValidator.cs b/src/ReC.Application/OutResults/Commands/DeleteOutResCommandValidator.cs deleted file mode 100644 index a8ef362..0000000 --- a/src/ReC.Application/OutResults/Commands/DeleteOutResCommandValidator.cs +++ /dev/null @@ -1,15 +0,0 @@ -using FluentValidation; - -namespace ReC.Application.OutResults.Commands; - -[Obsolete("Use the related procedure or view.")] -public class DeleteOutResCommandValidator : AbstractValidator -{ - public DeleteOutResCommandValidator() - { - RuleFor(x => x) - .Must(x => x.ActionId.HasValue || x.ProfileId.HasValue) - .WithMessage("At least one of ActionId or ProfileId must be provided.") - .WithName("Identifier"); - } -} \ No newline at end of file diff --git a/src/ReC.Application/OutResults/Queries/ReadOutResQueryValidator.cs b/src/ReC.Application/OutResults/Queries/ReadOutResQueryValidator.cs deleted file mode 100644 index 688aeb8..0000000 --- a/src/ReC.Application/OutResults/Queries/ReadOutResQueryValidator.cs +++ /dev/null @@ -1,15 +0,0 @@ -using FluentValidation; - -namespace ReC.Application.OutResults.Queries; - -[Obsolete("Use the related procedure or view.")] -public class ReadOutResQueryValidator : AbstractValidator -{ - public ReadOutResQueryValidator() - { - RuleFor(x => x) - .Must(x => x.ActionId.HasValue || x.ProfileId.HasValue) - .WithMessage("At least one of ActionId or ProfileId must be provided.") - .WithName("Identifier"); - } -} \ No newline at end of file