Adding visited countries by robot + it stays #2
No files matched your search
@@ -5,7 +5,7 @@ var builder = WebApplication.CreateBuilder(args);
|
|||||||
// Add services to the container.
|
// Add services to the container.
|
||||||
builder.Services.AddControllersWithViews();
|
builder.Services.AddControllersWithViews();
|
||||||
builder.Services.AddSingleton<IRobotsService, NotEmptyRobotsService>();
|
builder.Services.AddSingleton<IRobotsService, NotEmptyRobotsService>();
|
||||||
builder.Services.AddSingleton<IAgentsService, AgentsService>();
|
builder.Services.AddSingleton<IAgentsService, NotEmptyAgentsService>();
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
|
||||||
// Configure the HTTP request pipeline.
|
// Configure the HTTP request pipeline.
|
||||||
|
|||||||
@@ -14,18 +14,18 @@
|
|||||||
|
|
||||||
<table class="table table-hover" style="width: 40%; margin-left: auto; margin-right: auto;">
|
<table class="table table-hover" style="width: 40%; margin-left: auto; margin-right: auto;">
|
||||||
|
|
||||||
<thead class="thead-dark">
|
<thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<th>Id</th>
|
||||||
|
<td>@Model.Id</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Nom</th>
|
<th>Nom</th>
|
||||||
<td>@Model.Name</td>
|
<td>@Model.Name</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
|
||||||
<th>Id</th>
|
|
||||||
<td>@Model.Id</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>Continent</th>
|
<th>Continent</th>
|
||||||
<td>@Model.Continent</td>
|
<td>@Model.Continent</td>
|
||||||
@@ -35,6 +35,3 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Home Page";
|
ViewData["Title"] = "Agent List";
|
||||||
}
|
}
|
||||||
@model List<Agent>
|
@model List<Agent>
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
<table class="table table-hover" style="width: 40%; margin-left: auto; margin-right: auto;">
|
<table class="table table-hover" style="width: 40%; margin-left: auto; margin-right: auto;">
|
||||||
|
|
||||||
<thead class="thead-dark">
|
<thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Nom</th>
|
<th>Nom</th>
|
||||||
|
|||||||
Reference in new issue
Block a user