From 32af65d30c147735620c41b7b955182dccc5d306 Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 25 Mar 2026 10:07:15 +0100 Subject: [PATCH] Remove InvokeBatchRecActionViewsCommand extension method Deleted the InvokeBatchRecActionViewsCommandExtensions class and its InvokeBatchRecActionView extension method for ISender. The command record and handler remain unchanged. --- .../RecActions/Commands/InvokeBatchRecActionViewsCommand.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/ReC.Application/RecActions/Commands/InvokeBatchRecActionViewsCommand.cs b/src/ReC.Application/RecActions/Commands/InvokeBatchRecActionViewsCommand.cs index d689a1e..b30a8bb 100644 --- a/src/ReC.Application/RecActions/Commands/InvokeBatchRecActionViewsCommand.cs +++ b/src/ReC.Application/RecActions/Commands/InvokeBatchRecActionViewsCommand.cs @@ -10,12 +10,6 @@ public record InvokeBatchRecActionViewsCommand : IRequest public long ProfileId { get; init; } } -public static class InvokeBatchRecActionViewsCommandExtensions -{ - public static Task InvokeBatchRecActionView(this ISender sender, long profileId, CancellationToken cancel = default) - => sender.Send(new InvokeBatchRecActionViewsCommand { ProfileId = profileId }, cancel); -} - public class InvokeRecActionViewsCommandHandler(ISender sender) : IRequestHandler { public async Task Handle(InvokeBatchRecActionViewsCommand request, CancellationToken cancel)