Rename InvokeReferencesDto to InvokeReferences project-wide

Replaced all usages of InvokeReferencesDto with InvokeReferences across controllers, commands, and DTOs. This change standardizes the reference type naming by removing the "Dto" suffix, with no changes to the structure or behavior.
This commit is contained in:
2026-04-16 09:51:15 +02:00
parent b1924f2a4a
commit d3d5ebac61
5 changed files with 6 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ public class RecActionController(IMediator mediator) : ControllerBase
/// <returns>An HTTP 202 Accepted response indicating the process has been started.</returns> /// <returns>An HTTP 202 Accepted response indicating the process has been started.</returns>
[HttpPost("invoke/{profileId}")] [HttpPost("invoke/{profileId}")]
[ProducesResponseType(StatusCodes.Status202Accepted)] [ProducesResponseType(StatusCodes.Status202Accepted)]
public async Task<IActionResult> Invoke([FromRoute] long profileId, [FromBody] InvokeReferencesDto? references = null, CancellationToken cancel = default) public async Task<IActionResult> Invoke([FromRoute] long profileId, [FromBody] InvokeReferences? references = null, CancellationToken cancel = default)
{ {
await mediator.Send(new InvokeBatchRecActionViewsCommand await mediator.Send(new InvokeBatchRecActionViewsCommand
{ {

View File

@@ -11,5 +11,5 @@ public record UpdateResultDto
public short? Info { get; set; } public short? Info { get; set; }
public string? InfoDetail { get; set; } public string? InfoDetail { get; set; }
public string? Error { get; set; } public string? Error { get; set; }
public InvokeReferencesDto? References { get; set; } public InvokeReferences? References { get; set; }
} }

View File

@@ -9,7 +9,7 @@ namespace ReC.Application.RecActions.Commands;
public record InvokeBatchRecActionViewsCommand : IRequest public record InvokeBatchRecActionViewsCommand : IRequest
{ {
public long ProfileId { get; init; } public long ProfileId { get; init; }
public InvokeReferencesDto? References { get; init; } public InvokeReferences? References { get; init; }
} }
public class InvokeRecActionViewsCommandHandler(ISender sender, ILogger<InvokeRecActionViewsCommandHandler>? logger = null) : IRequestHandler<InvokeBatchRecActionViewsCommand> public class InvokeRecActionViewsCommandHandler(ISender sender, ILogger<InvokeRecActionViewsCommandHandler>? logger = null) : IRequestHandler<InvokeBatchRecActionViewsCommand>

View File

@@ -18,10 +18,10 @@ namespace ReC.Application.RecActions.Commands;
public record InvokeRecActionViewCommand : IRequest public record InvokeRecActionViewCommand : IRequest
{ {
public RecActionViewDto Action { get; set; } = null!; public RecActionViewDto Action { get; set; } = null!;
public required InvokeReferencesDto References { get; set; } public required InvokeReferences References { get; set; }
} }
public record InvokeReferencesDto public record InvokeReferences
{ {
public required string BatchId { get; init; } public required string BatchId { get; init; }
public string? Reference1 { get; init; } public string? Reference1 { get; init; }

View File

@@ -15,7 +15,7 @@ public record InsertResultCommand : IInsertProcedure
public string? InfoDetail { get; set; } public string? InfoDetail { get; set; }
public string? Error { get; set; } public string? Error { get; set; }
public required ResultType Type { get; set; } public required ResultType Type { get; set; }
public InvokeReferencesDto? References { get; set; } public InvokeReferences? References { get; set; }
} }
public class InsertResultProcedureHandler(ISender sender) : IRequestHandler<InsertResultCommand, long> public class InsertResultProcedureHandler(ISender sender) : IRequestHandler<InsertResultCommand, long>