Refactored all "Result" related command and query classes from ReC.Application.OutResults to ReC.Application.Results. Updated all relevant using statements and reorganized files accordingly. No functional changes; this improves project structure and clarity.
22 lines
583 B
C#
22 lines
583 B
C#
using ReC.Application.Common.Procedures.UpdateProcedure;
|
|
|
|
namespace ReC.Application.Results.Commands;
|
|
|
|
public record UpdateResultProcedure : IUpdateProcedure
|
|
{
|
|
public long? ActionId { get; set; }
|
|
public short? StatusId { get; set; }
|
|
public string? Header { get; set; }
|
|
public string? Body { get; set; }
|
|
|
|
public UpdateObjectProcedure ToObjectProcedure(long id, string? changedWho = null)
|
|
{
|
|
return new UpdateObjectProcedure
|
|
{
|
|
Entity = "RESULT",
|
|
Id = id,
|
|
Result = this
|
|
}.ChangedBy(changedWho);
|
|
}
|
|
}
|