From 495a5247bcd9cf36f27acdba79991d3eda243f22 Mon Sep 17 00:00:00 2001 From: TekH Date: Tue, 25 Nov 2025 17:07:39 +0100 Subject: [PATCH] Add InvokeRecActionQuery class for MediatR request Introduced the `InvokeRecActionQuery` class in the `ReC.Application.RecActions.Commands` namespace to implement the Mediator pattern using the MediatR library. - Added `using MediatR;` directive to include the library. - Implemented `IRequest` interface in the new class. - Added `ProfileId` property with `init` accessor for immutability. - Organized the code under a new namespace for better structure. --- .../RecActions/Commands/InvokeRecActionQuery.cs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/ReC.Application/RecActions/Commands/InvokeRecActionQuery.cs diff --git a/src/ReC.Application/RecActions/Commands/InvokeRecActionQuery.cs b/src/ReC.Application/RecActions/Commands/InvokeRecActionQuery.cs new file mode 100644 index 0000000..187ae7b --- /dev/null +++ b/src/ReC.Application/RecActions/Commands/InvokeRecActionQuery.cs @@ -0,0 +1,8 @@ +using MediatR; + +namespace ReC.Application.RecActions.Commands; + +public class InvokeRecActionQuery : IRequest +{ + public int ProfileId { get; init; } +} \ No newline at end of file