shoc-backend/SeaHaven.Services/Interfaces/IEmailSender.cs

12 lines
362 B
C#
Raw Normal View History

namespace SeaHaven.Services.Interfaces
{
/// <summary>
/// Outbound email port. Implemented in the API layer so the service layer
/// can orchestrate email without depending on the transport (SendGrid).
/// </summary>
public interface IEmailSender
{
Task<bool> SendEmailAsync(string emailTo, string subject, string body);
}
}