Fix mapper
This commit is contained in:
parent
09b7db8aaf
commit
2cac5bd829
@ -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 =>
|
||||
|
Loading…
Reference in New Issue
Block a user