From 46eef255ca2922819a290220eb2affd8df3fd46f Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 15 Apr 2026 13:31:54 +0200 Subject: [PATCH] Add References support to batch rec action commands Added an optional References property to InvokeBatchRecActionViewsCommand. Updated the handler to pass this property to each individual InvokeRecActionViewCommand. Also included the ReC.Domain.Constants namespace for required types. --- .../Commands/InvokeBatchRecActionViewsCommand.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ReC.Application/RecActions/Commands/InvokeBatchRecActionViewsCommand.cs b/src/ReC.Application/RecActions/Commands/InvokeBatchRecActionViewsCommand.cs index e134c5d..472f7fa 100644 --- a/src/ReC.Application/RecActions/Commands/InvokeBatchRecActionViewsCommand.cs +++ b/src/ReC.Application/RecActions/Commands/InvokeBatchRecActionViewsCommand.cs @@ -9,6 +9,7 @@ namespace ReC.Application.RecActions.Commands; public record InvokeBatchRecActionViewsCommand : IRequest { public long ProfileId { get; init; } + public InvokeReferencesDto? References { get; init; } } public class InvokeRecActionViewsCommandHandler(ISender sender, ILogger? logger = null) : IRequestHandler @@ -21,7 +22,11 @@ public class InvokeRecActionViewsCommandHandler(ISender sender, ILogger