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.
This commit is contained in:
tekh 2025-11-25 17:07:39 +01:00
parent 5ba012cc13
commit 495a5247bc

View File

@ -0,0 +1,8 @@
using MediatR;
namespace ReC.Application.RecActions.Commands;
public class InvokeRecActionQuery : IRequest
{
public int ProfileId { get; init; }
}