diff --git a/SessionCompanion/SessionCompanion/Startup.cs b/SessionCompanion/SessionCompanion/Startup.cs index c3c0cef..5318f64 100644 --- a/SessionCompanion/SessionCompanion/Startup.cs +++ b/SessionCompanion/SessionCompanion/Startup.cs @@ -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 =>