Files
ReC/src/ReC.Application/Common/Dto/BatchRecActionViewResponse.cs
TekH c729cb33e3 Refactor BatchRecActionViewResponse to a record type
Refactored `BatchRecActionViewResponse` from a mutable class to an immutable record type with a constructor for `TotalActionCount` and a new `ActionExceptionCount` property. Moved the record to its own file under the `ReC.Application.Common.Dto` namespace.

Updated `InvokeBatchRecActionViewsCommand` and `InvokeRecActionViewsCommandHandler` to use the new record type. Removed `SuccessCount` and `FailureCount` properties, replacing them with `ActionExceptionCount`.

Performed minor cleanup, including removing the old class definition and updating namespaces.
2026-08-04 13:55:08 +02:00

6 lines
172 B
C#

namespace ReC.Application.Common.Dto;
public record BatchRecActionViewResponse(int TotalActionCount)
{
public int ActionExceptionCount { get; internal set; } = 0;
}