Adding visited countries by robot + it stays #2

Closed
marcdescotes wants to merge 7 commits from main into main
pull from: main
4 changed files with 9 additions and 12 deletions
Showing only changes of commit 19fa9ef333 - Show all commits

No files matched your search

+1 -1
View File
@@ -5,7 +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>();
builder.Services.AddSingleton<IAgentsService, NotEmptyAgentsService>();
var app = builder.Build();
// Configure the HTTP request pipeline.
+6 -9
View File
@@ -14,18 +14,18 @@
<table class="table table-hover" style="width: 40%; margin-left: auto; margin-right: auto;">
<thead class="thead-dark">
<thead>
<tbody>
<tr>
<th>Id</th>
<td>@Model.Id</td>
</tr>
<tr>
<th>Nom</th>
<td>@Model.Name</td>
</tr>
<tr>
<th>Id</th>
<td>@Model.Id</td>
</tr>
<tr>
<th>Continent</th>
<td>@Model.Continent</td>
@@ -35,6 +35,3 @@
</tbody>
</table>
+1 -1
View File
@@ -1,5 +1,5 @@
@{
ViewData["Title"] = "Home Page";
ViewData["Title"] = "Agent List";
}
@model List<Agent>
+1 -1
View File
@@ -14,7 +14,7 @@
<table class="table table-hover" style="width: 40%; margin-left: auto; margin-right: auto;">
<thead class="thead-dark">
<thead>
<tbody>
<tr>
<th>Nom</th>