16 lines
449 B
C#
16 lines
449 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
using RecNet.Application.Services.Configuration;
|
|
|
|
namespace RecNet.Application;
|
|
|
|
public static class DependencyInjection
|
|
{
|
|
public static IServiceCollection AddApplication(this IServiceCollection services)
|
|
{
|
|
services.AddAutoMapper(_ => { }, typeof(DependencyInjection).Assembly);
|
|
|
|
services.AddScoped<IConfigService, ConfigService>();
|
|
|
|
return services;
|
|
}
|
|
} |