mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-15 01:54:43 +00:00
18 lines
646 B
C#
18 lines
646 B
C#
namespace Features.Emails.Services;
|
|
|
|
/// <summary>
|
|
/// Defines operations for sending account-related emails.
|
|
/// </summary>
|
|
public interface IEmailDispatcher
|
|
{
|
|
/// <summary>
|
|
/// Sends a welcome email containing an account confirmation link to a newly registered user.
|
|
/// </summary>
|
|
Task SendRegistrationEmailAsync(string firstName, string email, string confirmationToken);
|
|
|
|
/// <summary>
|
|
/// Sends an email containing a fresh account confirmation link to a user who requested a resend.
|
|
/// </summary>
|
|
Task SendResendConfirmationEmailAsync(string firstName, string email, string confirmationToken);
|
|
}
|