namespace Infrastructure.Email.Templates.Rendering; /// /// Service for rendering Razor email templates to HTML. /// public interface IEmailTemplateProvider { /// /// Renders the UserRegisteredEmail template with the specified parameters. /// /// The username to include in the email /// The email confirmation link /// The rendered HTML string Task RenderUserRegisteredEmailAsync(string username, string confirmationLink); /// /// Renders the ResendConfirmation template with the specified parameters. /// /// The username to include in the email /// The new confirmation link /// The rendered HTML string Task RenderResendConfirmationEmailAsync(string username, string confirmationLink); }