Remove InvokeBatchRecActionViewsCommand extension method

Deleted the InvokeBatchRecActionViewsCommandExtensions class and its InvokeBatchRecActionView extension method for ISender. The command record and handler remain unchanged.
This commit is contained in:
2026-03-25 10:07:15 +01:00
parent 30ccf05c57
commit 32af65d30c

View File

@@ -10,12 +10,6 @@ public record InvokeBatchRecActionViewsCommand : IRequest
public long ProfileId { get; init; } 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<InvokeBatchRecActionViewsCommand> public class InvokeRecActionViewsCommandHandler(ISender sender) : IRequestHandler<InvokeBatchRecActionViewsCommand>
{ {
public async Task Handle(InvokeBatchRecActionViewsCommand request, CancellationToken cancel) public async Task Handle(InvokeBatchRecActionViewsCommand request, CancellationToken cancel)