using Application.Helpers; using Application.Interfaces; using Application.Profiles; using Application.Repositories; using Application.Services; using Microsoft.Extensions.DependencyInjection; using Utilities.Interfaces; using Utilities.Services; namespace Application; public static class ApplicationDependencyInjection { public static IServiceCollection AddApplication(this IServiceCollection services) { services.AddAutoMapper(_ => {}, typeof(AllianceProfile)); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddTransient(); services.AddTransient(); services.AddTransient(); services.AddTransient(); services.AddTransient(); services.AddTransient(); return services; } }