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.
20 lines
562 B
C#
20 lines
562 B
C#
using ReC.Application.Common.Procedures.InsertProcedure;
|
|
|
|
namespace ReC.Application.Results.Commands;
|
|
|
|
public record InsertResultProcedure : IInsertProcedure
|
|
{
|
|
public long? ActionId { get; set; }
|
|
public short? StatusId { get; set; }
|
|
public string? Header { get; set; }
|
|
public string? Body { get; set; }
|
|
|
|
public InsertObjectProcedure ToObjectProcedure(string? addedWho = null)
|
|
{
|
|
return new InsertObjectProcedure
|
|
{
|
|
Entity = "RESULT",
|
|
Result = this
|
|
}.AddedBy(addedWho ?? "Rec.API");
|
|
}
|
|
} |