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 ); }