25 lines
1.2 KiB
C#
25 lines
1.2 KiB
C#
using MediatR;
|
|
|
|
namespace EnvelopeGenerator.Application.EnvelopeReceivers.Commands.Create;
|
|
|
|
/// <summary>
|
|
/// 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.
|
|
/// </summary>
|
|
public class CreateEnvelopeReceiverCommandHandler : IRequestHandler<CreateEnvelopeReceiverCommand>
|
|
{
|
|
/// <summary>
|
|
/// Handles the execution of the <see cref="CreateEnvelopeReceiverCommand"/>.
|
|
/// Responsible for validating input data, creating or retrieving recipients, associating signatures,
|
|
/// and storing the envelope and document details.
|
|
/// </summary>
|
|
/// <param name="request">The command containing all necessary information to create an envelope.</param>
|
|
/// <param name="cancellationToken">Token to observe while waiting for the task to complete.</param>
|
|
/// <returns>A task representing the asynchronous operation.</returns>
|
|
public Task Handle(CreateEnvelopeReceiverCommand request, CancellationToken cancellationToken)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|