- extend CreateEnvelopeCommand to support draft updates and send intent - merge draft save logic into CreateEnvelopeCommandHandler and remove duplicate handler - add DocReceiverElement writer abstraction and infrastructure registration for SQL-based field upserts
11 lines
369 B
C#
11 lines
369 B
C#
using EnvelopeGenerator.Domain.Entities;
|
|
|
|
namespace EnvelopeGenerator.Application.Common.Interfaces;
|
|
|
|
public interface IDocReceiverElementWriter
|
|
{
|
|
Task DeleteByDocumentAndReceiverAsync(int documentId, int receiverId, CancellationToken cancellationToken = default);
|
|
|
|
Task InsertAsync(DocReceiverElement element, CancellationToken cancellationToken = default);
|
|
}
|