Added Agent Services to program startup

This commit is contained in:
Marc-André Descôteaux committed 2023-09-21 17:30:36 -04:00
1 parent 9052c11194
commit a4f4206f3b
1 file changed
+1
+1
View File
@@ -5,6 +5,7 @@ var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllersWithViews();
builder.Services.AddSingleton<IRobotsService, NotEmptyRobotsService>();
builder.Services.AddSingleton<IAgentsService, AgentsService>();
var app = builder.Build();
// Configure the HTTP request pipeline.