diff --git a/src/core/DigitalData.TaskFlow.Application/Features/Workflows/Commands/CloseWorkflowCommand.cs b/src/core/DigitalData.TaskFlow.Application/Features/Workflows/Commands/CloseWorkflowCommand.cs new file mode 100644 index 0000000..63ff33a --- /dev/null +++ b/src/core/DigitalData.TaskFlow.Application/Features/Workflows/Commands/CloseWorkflowCommand.cs @@ -0,0 +1,15 @@ +using MediatR; + +namespace DigitalData.TaskFlow.Application.Features.Workflows.Commands; + +public sealed record CloseWorkflowCommand( + int WisagId, + string Source, + long ProcessId, + int ClosingMethodId, + string? Comment, + byte? RejectionReasonId) : IRequest; + +public sealed record CloseWorkflowResult( + int ResultCode, + string ResultMessage);