Added services. Added admin ui. Added delete button

This commit is contained in:
Marcel Baumgartner
2023-04-03 19:29:07 +02:00
parent 6db877d8fc
commit 010436cdb6
19 changed files with 1711 additions and 10 deletions

View File

@@ -62,6 +62,7 @@ namespace Moonlight
builder.Services.AddScoped<AaPanelRepository>();
builder.Services.AddScoped<WebsiteRepository>();
builder.Services.AddScoped<DdosAttackRepository>();
builder.Services.AddScoped<SubscriptionRepository>();
builder.Services.AddScoped<AuditLogEntryRepository>();
builder.Services.AddScoped<ErrorLogEntryRepository>();
@@ -94,6 +95,9 @@ namespace Moonlight
builder.Services.AddScoped<GoogleOAuth2Service>();
builder.Services.AddScoped<DiscordOAuth2Service>();
builder.Services.AddScoped<SubscriptionService>();
builder.Services.AddScoped<SubscriptionAdminService>();
builder.Services.AddSingleton<CleanupService>();
// Loggers