refactor(SignDocBehavior): add to handle the events after document status updateted

This commit is contained in:
tekh 2025-09-03 12:49:16 +02:00
parent fa46dd1fa8
commit 6ab85f25eb
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,12 @@
using EnvelopeGenerator.Application.DocStatus.Commands;
using MediatR;
namespace EnvelopeGenerator.Application.Behaviors;
public class SignDocBehavior : IPipelineBehavior<SaveDocStatusCommand, int?>
{
public Task<int?> Handle(SaveDocStatusCommand request, RequestHandlerDelegate<int?> next, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
}

View File

@ -2,7 +2,6 @@
using EnvelopeGenerator.Web.Services; using EnvelopeGenerator.Web.Services;
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using System.Text.Encodings.Web;
using EnvelopeGenerator.Application.Extensions; using EnvelopeGenerator.Application.Extensions;
using EnvelopeGenerator.Application.Interfaces.Services; using EnvelopeGenerator.Application.Interfaces.Services;
using EnvelopeGenerator.Domain.Constants; using EnvelopeGenerator.Domain.Constants;