Fix mapper

This commit is contained in:
Łukasz Góreczny 2020-12-10 13:55:31 +01:00
parent 09b7db8aaf
commit 2cac5bd829

View File

@ -40,7 +40,9 @@ namespace SessionCompanion
Configuration.GetConnectionString("DefaultConnection")));
services.AddRepositories();
services.AddServices();
services.AddAutoMapper(typeof(Startup));
services.AddAutoMapper(AppDomain.CurrentDomain.GetAssemblies());
services.AddSignalR();
services.AddSwaggerGen(s =>