From 2cf4d73cf32a08365383e8e898d966cab82b8b8b Mon Sep 17 00:00:00 2001 From: TekH Date: Tue, 25 Nov 2025 17:08:24 +0100 Subject: [PATCH] Refactor InvokeRecActionQuery to InvokeRecActionCommand Replaced the `InvokeRecActionQuery` class with the `InvokeRecActionCommand` class to better align with CQRS semantics. The new class retains the same `ProfileId` property and implements the `IRequest` interface. Updated the namespace to remain consistent. --- .../{InvokeRecActionQuery.cs => InvokeRecActionCommand.cs} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/ReC.Application/RecActions/Commands/{InvokeRecActionQuery.cs => InvokeRecActionCommand.cs} (69%) diff --git a/src/ReC.Application/RecActions/Commands/InvokeRecActionQuery.cs b/src/ReC.Application/RecActions/Commands/InvokeRecActionCommand.cs similarity index 69% rename from src/ReC.Application/RecActions/Commands/InvokeRecActionQuery.cs rename to src/ReC.Application/RecActions/Commands/InvokeRecActionCommand.cs index 187ae7b..6fed4da 100644 --- a/src/ReC.Application/RecActions/Commands/InvokeRecActionQuery.cs +++ b/src/ReC.Application/RecActions/Commands/InvokeRecActionCommand.cs @@ -2,7 +2,7 @@ namespace ReC.Application.RecActions.Commands; -public class InvokeRecActionQuery : IRequest +public class InvokeRecActionCommand : IRequest { public int ProfileId { get; init; } } \ No newline at end of file