Refactor UpdateResultDto to use InvokeReferencesDto
Replaced five separate reference string properties in UpdateResultDto with a single References property of type InvokeReferencesDto for improved structure and maintainability. Added the necessary using directive for the new type.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
namespace ReC.Application.Common.Procedures.UpdateProcedure.Dto;
|
||||
using ReC.Application.RecActions.Commands;
|
||||
|
||||
namespace ReC.Application.Common.Procedures.UpdateProcedure.Dto;
|
||||
|
||||
public record UpdateResultDto
|
||||
{
|
||||
@@ -9,9 +11,5 @@ public record UpdateResultDto
|
||||
public short? Info { get; set; }
|
||||
public string? InfoDetail { get; set; }
|
||||
public string? Error { get; set; }
|
||||
public string? Reference1 { get; set; }
|
||||
public string? Reference2 { get; set; }
|
||||
public string? Reference3 { get; set; }
|
||||
public string? Reference4 { get; set; }
|
||||
public string? Reference5 { get; set; }
|
||||
public InvokeReferencesDto? References { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user