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:
parent
5ba012cc13
commit
495a5247bc
@ -0,0 +1,8 @@
|
|||||||
|
using MediatR;
|
||||||
|
|
||||||
|
namespace ReC.Application.RecActions.Commands;
|
||||||
|
|
||||||
|
public class InvokeRecActionQuery : IRequest
|
||||||
|
{
|
||||||
|
public int ProfileId { get; init; }
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user