Added Agent Services to program startup
This commit is contained in:
1 parent
9052c11194
commit
a4f4206f3b
1 file changed
+1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user