using Microsoft.Extensions.DependencyInjection; using RT.Application.Services.Contract; using RT.Application.Services.Implementation; namespace RT.Application; public static class DependencyInjection { public static IServiceCollection AddApplication(this IServiceCollection services) { services.AddAutoMapper(cfg => cfg.AddMaps(typeof(DependencyInjection).Assembly)); services.AddScoped(); services.AddScoped(); return services; } }