refactor(SignDocBehavior): add to handle the events after document status updateted
This commit is contained in:
parent
fa46dd1fa8
commit
6ab85f25eb
12
EnvelopeGenerator.Application/Behaviors/SignDocBehavior.cs
Normal file
12
EnvelopeGenerator.Application/Behaviors/SignDocBehavior.cs
Normal 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();
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user