my-code-codex

IEmailService

Interface de serviço externo. A Application define o contrato, a Infra implementa com o provedor real.

namespace Application.Interfaces;

public interface IEmailService
{
    Task SendAsync(string to, string subject, string body, CancellationToken ct = default);
}