[CHANGE] DI fixes
This commit is contained in:
@@ -25,9 +25,11 @@ public static class DependencyInjection
|
||||
options.UseSqlite($"Data Source={dbPath}");
|
||||
});
|
||||
|
||||
builder.Services.AddScoped<ILibraryService, LibraryService>();
|
||||
|
||||
|
||||
builder.Services.AddSingleton<HostedServiceConnector>();
|
||||
builder.Services.AddHostedService<ClientManager>();
|
||||
|
||||
builder.Services.AddScoped<ILibraryService, LibraryService>();
|
||||
}
|
||||
|
||||
public static void SetupSettings(this WebApplicationBuilder builder)
|
||||
|
Reference in New Issue
Block a user