Files
EnvelopeGenerator/EnvelopeGenerator.Application/Common/Interfaces/IDocReceiverElementWriter.cs
TekH 4d2538cc2c refactor(envelope): consolidate draft flow into upsert command
- 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
2026-09-26 13:11:28 +02:00

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);
}