using Features.Emails.Services; using Features.Emails.Templates.Rendering; using Microsoft.Extensions.DependencyInjection; namespace Features.Emails.DependencyInjection; /// /// Registers the services used by the Features.Emails slice. /// public static class FeaturesEmailsServiceCollectionExtensions { /// /// Registers the SMTP email provider, template renderer, and . /// /// The same instance, for chaining. public static IServiceCollection AddFeaturesEmails(this IServiceCollection services) { services.AddScoped(); services.AddScoped(); services.AddScoped(); return services; } }