Poll and its CRUD

This commit is contained in:
2025-08-02 17:54:51 +08:00
parent 1f38d827c5
commit 700803f7a6
10 changed files with 2798 additions and 8 deletions

View File

@@ -19,6 +19,7 @@ using DysonNetwork.Shared.GeoIp;
using DysonNetwork.Sphere.WebReader;
using DysonNetwork.Sphere.Developer;
using DysonNetwork.Sphere.Discovery;
using DysonNetwork.Sphere.Poll;
using DysonNetwork.Sphere.Translation;
namespace DysonNetwork.Sphere.Startup;
@@ -167,6 +168,7 @@ public static class ServiceCollectionExtensions
services.AddScoped<WebFeedService>();
services.AddScoped<DiscoveryService>();
services.AddScoped<CustomAppService>();
services.AddScoped<PollService>();
var translationProvider = configuration["Translation:Provider"]?.ToLower();
switch (translationProvider)