using EnvelopeGenerator.Application.Contracts.SQLExecutor; using MediatR; namespace EnvelopeGenerator.Application.EnvelopeReceivers.Commands.Create; /// /// Handles the creation of an envelope along with its associated document and recipients. /// This command processes the envelope data, including title, message, document content, /// recipient list, and optional two-factor authentication settings. /// public class CreateEnvelopeReceiverCommandHandler : IRequestHandler { private readonly IEnvelopeExecutor _envelopeExecutor; private readonly IEnvelopeReceiverExecutor _erExecutor; /// /// /// /// /// public CreateEnvelopeReceiverCommandHandler(IEnvelopeExecutor envelopeExecutor, IEnvelopeReceiverExecutor erExecutor) { _envelopeExecutor = envelopeExecutor; _erExecutor = erExecutor; } /// /// Handles the execution of the . /// Responsible for validating input data, creating or retrieving recipients, associating signatures, /// and storing the envelope and document details. /// /// The command containing all necessary information to create an envelope. /// Token to observe while waiting for the task to complete. /// A task representing the asynchronous operation. public Task Handle(CreateEnvelopeReceiverCommand request, CancellationToken cancellationToken) { throw new NotImplementedException(); } }