using HrynCo.NotificationService.Services.Core; using MediatR; namespace HrynCo.NotificationService.Services.EmailChannels.Send; /// /// Sends an email via the channel associated with the given channel ID, /// then increments the usage counter for that channel. /// public sealed record SendEmailCommand( Guid ChannelId, string RecipientEmail, string RecipientName, string Subject, string HtmlBody, string? TextBody ) : IRequest>;