diff --git a/GSS2.Core/DependencyInjectionHelper.cs b/GSS2.Core/DependencyInjectionHelper.cs index cf6c093..12c9a90 100644 --- a/GSS2.Core/DependencyInjectionHelper.cs +++ b/GSS2.Core/DependencyInjectionHelper.cs @@ -108,20 +108,11 @@ public static class DependencyInjectionHelper } ); - public static IServiceCollection AddAmineContentCalibrationContext(this IServiceCollection services, IConfigurationManager configuration) => services - .AddDbContext( + public static IServiceCollection AddAmineContentContext(this IServiceCollection services, IConfigurationManager configuration) => services + .AddDbContext( options => { - var databasePath = configuration.GetConnectionString("AmineContentCalibrationDatabasePath"); - options.UseSqlite($"Data Source={databasePath}"); - }, - ServiceLifetime.Singleton - ); - public static IServiceCollection AddAmineContentResultsContext(this IServiceCollection services, IConfigurationManager configuration) => services - .AddDbContext( - options => - { - var databasePath = configuration.GetConnectionString("AmineContentResultsDatabasePath"); + var databasePath = configuration.GetConnectionString("AmineContentDatabasePath"); options.UseSqlite($"Data Source={databasePath}"); }, ServiceLifetime.Singleton