aboutsummaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2024-10-14 16:03:04 +1100
committerJake Mannens <jake@asger.xyz>2024-11-01 16:23:29 +1100
commitbc4939d6d0f59a326b7182949b1d33e77da55864 (patch)
treefec479a30e2caf24ca0877be3a7f507325f10d7d /Program.cs
parentb39dc97286456159a99b8afcdfdb6e0aae759495 (diff)
Initial commit
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs
index cc60d92..40bd618 100644
--- a/Program.cs
+++ b/Program.cs
@@ -1,4 +1,5 @@
using Microsoft.EntityFrameworkCore;
+using PagerParser.Bart;
using System.Text.Json.Serialization;
namespace PagerParser;
@@ -24,6 +25,7 @@ public class Program {
builder.Services.AddSingleton<IRootPagerHandler>(p => p.GetRequiredService<RootPagerHandler>());
builder.Services.AddSingleton<IHostedService>(p => p.GetRequiredService<RootPagerHandler>());
builder.Services.AddHostedService<PagerFetchService>();
+ builder.Services.AddHostedService<BartService>();
var app = builder.Build();