mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-07-16 17:47:22 +00:00
24 lines
1019 B
C#
24 lines
1019 B
C#
namespace Infrastructure.Email.Templates.Rendering;
|
|
|
|
/// <summary>
|
|
/// Service for rendering Razor email templates to HTML.
|
|
/// </summary>
|
|
public interface IEmailTemplateProvider
|
|
{
|
|
/// <summary>
|
|
/// Renders the UserRegisteredEmail template with the specified parameters.
|
|
/// </summary>
|
|
/// <param name="username">The username to include in the email</param>
|
|
/// <param name="confirmationLink">The email confirmation link</param>
|
|
/// <returns>The rendered HTML string</returns>
|
|
Task<string> RenderUserRegisteredEmailAsync(string username, string confirmationLink);
|
|
|
|
/// <summary>
|
|
/// Renders the ResendConfirmation template with the specified parameters.
|
|
/// </summary>
|
|
/// <param name="username">The username to include in the email</param>
|
|
/// <param name="confirmationLink">The new confirmation link</param>
|
|
/// <returns>The rendered HTML string</returns>
|
|
Task<string> RenderResendConfirmationEmailAsync(string username, string confirmationLink);
|
|
}
|