mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(dir): ♻ use Assembly overload for AutoMapper registration
This commit is contained in:
parent
0cce314ede
commit
f6b35d2db6
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ public static IHostBuilder UseApplication(this IHostBuilder hostBuilder)
|
|||
public static void AddApplicationServices(this IServiceCollection services, IConfiguration configuration)
|
||||
{
|
||||
services.AddMediatR(typeof(ConfigurationExtensions).Assembly);
|
||||
services.AddAutoMapper(typeof(ConfigurationExtensions));
|
||||
services.AddAutoMapper(typeof(ConfigurationExtensions).Assembly);
|
||||
services.AddInfrastructureServices(configuration);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue