From 243cc97aa253d745f498cb7cd21c461353c1bd25 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 8 Dec 2025 11:17:11 +0100 Subject: [PATCH] Add DeleteOutResCommand for CQRS pattern Introduced the `DeleteOutResCommand` record in the `ReC.Application.OutResults.Commands` namespace. This command implements the `IRequest` interface from `MediatR` and includes two nullable properties: `ActionId` and `ProfileId`. Added the `MediatR` library to support the CQRS pattern. --- .../OutResults/Commands/DeleteOutResCommand.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/ReC.Application/OutResults/Commands/DeleteOutResCommand.cs diff --git a/src/ReC.Application/OutResults/Commands/DeleteOutResCommand.cs b/src/ReC.Application/OutResults/Commands/DeleteOutResCommand.cs new file mode 100644 index 0000000..9d56077 --- /dev/null +++ b/src/ReC.Application/OutResults/Commands/DeleteOutResCommand.cs @@ -0,0 +1,10 @@ +using MediatR; + +namespace ReC.Application.OutResults.Commands; + +public record DeleteOutResCommand : IRequest +{ + public long? ActionId { get; init; } + + public long? ProfileId { get; init; } +}