From e04e0541513884bf91819a9330a37ba8e5175b7a Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 25 Mar 2026 11:02:35 +0100 Subject: [PATCH] Add optional ResultType to InsertResultCommand Added a nullable Type property of ResultType to InsertResultCommand for enhanced result categorization. Also included the required using directive for ReC.Domain.Constants. --- src/ReC.Application/Results/Commands/InsertResultCommand.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ReC.Application/Results/Commands/InsertResultCommand.cs b/src/ReC.Application/Results/Commands/InsertResultCommand.cs index 8df27c5..2134105 100644 --- a/src/ReC.Application/Results/Commands/InsertResultCommand.cs +++ b/src/ReC.Application/Results/Commands/InsertResultCommand.cs @@ -1,5 +1,6 @@ using MediatR; using ReC.Application.Common.Procedures.InsertProcedure; +using ReC.Domain.Constants; namespace ReC.Application.Results.Commands; @@ -11,6 +12,7 @@ public record InsertResultCommand : IInsertProcedure public string? Body { get; set; } public string? Info { get; set; } public string? Error { get; set; } + public ResultType? Type { get; set; } } public class InsertResultProcedureHandler(ISender sender) : IRequestHandler