using HrynCo.NotificationService.Worker.Services.EmailProcessing; using Hrynco.RabbitMq; using Microsoft.Extensions.DependencyInjection; namespace HrynCo.NotificationService.Worker.Services; public static class ServiceCollectionExtensions { public static IServiceCollection AddNotificationWorkerServices(this IServiceCollection services) { services.AddSingleton(); services.AddScoped(); services.AddScoped(); services.AddScoped(); return services; } }