excise entity framework from all remaining code
This commit is contained in:
parent
d6c3133d52
commit
ff92c5f335
62 changed files with 402 additions and 1339 deletions
|
|
@ -16,7 +16,6 @@
|
|||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using Catalogger.Backend.Bot.Commands;
|
||||
using Catalogger.Backend.Database;
|
||||
using Catalogger.Backend.Extensions;
|
||||
using Catalogger.Backend.Services;
|
||||
using Prometheus;
|
||||
|
|
@ -110,8 +109,7 @@ if (!config.Logging.EnableMetrics)
|
|||
builder.Services.AddHostedService<BackgroundMetricsCollectionService>();
|
||||
|
||||
builder
|
||||
.Services.AddDbContext<DatabaseContext>()
|
||||
.MaybeAddDashboardServices(config)
|
||||
.Services.MaybeAddDashboardServices(config)
|
||||
.MaybeAddRedisCaches(config)
|
||||
.AddCustomServices()
|
||||
.AddEndpointsApiExplorer()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue