using DigitalData.Core.Abstraction.Application.Repository;
using EnvelopeGenerator.Application.Common.Commands;
using EnvelopeGenerator.Domain.Entities;
using MediatR;
namespace EnvelopeGenerator.Application.DocStatus.Commands;
///
///
///
public record CreateDocStatusCommand : IRequest
{
///
///
///
public int EnvelopeId { get; set; }
///
///
///
public int ReceiverId { get; set; }
///
/// Gets or sets the display value associated with the status.
///
public string? Value { get; set; }
}
///
///
///
public class CreateDocStatusCommandHandler : CreateCommandHandler
{
///
///
///
///
public CreateDocStatusCommandHandler(IRepository repository) : base(repository)
{
}
}