diff --git a/DbFirst.API/DbFirst.API.csproj b/DbFirst.API/DbFirst.API.csproj index 82b0695..20cf89e 100644 --- a/DbFirst.API/DbFirst.API.csproj +++ b/DbFirst.API/DbFirst.API.csproj @@ -7,8 +7,7 @@ - - + diff --git a/DbFirst.Application/DbFirst.Application.csproj b/DbFirst.Application/DbFirst.Application.csproj index 2eabaad..c623505 100644 --- a/DbFirst.Application/DbFirst.Application.csproj +++ b/DbFirst.Application/DbFirst.Application.csproj @@ -7,8 +7,7 @@ - - + diff --git a/DbFirst.Application/DependencyInjection.cs b/DbFirst.Application/DependencyInjection.cs index 1256100..75b2fae 100644 --- a/DbFirst.Application/DependencyInjection.cs +++ b/DbFirst.Application/DependencyInjection.cs @@ -7,7 +7,7 @@ public static class DependencyInjection { public static IServiceCollection AddApplication(this IServiceCollection services) { - services.AddAutoMapper(typeof(DependencyInjection).Assembly); + services.AddAutoMapper(cfg => cfg.AddMaps(typeof(DependencyInjection).Assembly)); services.AddMediatR(cfg => cfg.RegisterServicesFromAssembly(typeof(DependencyInjection).Assembly)); return services; diff --git a/DbFirst.Infrastructure/DbFirst.Infrastructure.csproj b/DbFirst.Infrastructure/DbFirst.Infrastructure.csproj index 24f1fe7..8f624c1 100644 --- a/DbFirst.Infrastructure/DbFirst.Infrastructure.csproj +++ b/DbFirst.Infrastructure/DbFirst.Infrastructure.csproj @@ -7,7 +7,7 @@ - +