diff --git a/RobotsWantedLeague/Program.cs b/RobotsWantedLeague/Program.cs index 9c22748..a34d5d6 100644 --- a/RobotsWantedLeague/Program.cs +++ b/RobotsWantedLeague/Program.cs @@ -5,7 +5,7 @@ var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddControllersWithViews(); builder.Services.AddSingleton(); -builder.Services.AddSingleton(); +builder.Services.AddSingleton(); var app = builder.Build(); // Configure the HTTP request pipeline. diff --git a/RobotsWantedLeague/Views/Agents/Agent.cshtml b/RobotsWantedLeague/Views/Agents/Agent.cshtml index 365e0eb..22c3361 100644 --- a/RobotsWantedLeague/Views/Agents/Agent.cshtml +++ b/RobotsWantedLeague/Views/Agents/Agent.cshtml @@ -14,18 +14,18 @@ - + + + + + + - - - - - @@ -35,6 +35,3 @@
Id@Model.Id
Nom @Model.Name
Id@Model.Id
Continent @Model.Continent
- - - diff --git a/RobotsWantedLeague/Views/Agents/Index.cshtml b/RobotsWantedLeague/Views/Agents/Index.cshtml index a205d75..b8a001d 100644 --- a/RobotsWantedLeague/Views/Agents/Index.cshtml +++ b/RobotsWantedLeague/Views/Agents/Index.cshtml @@ -1,5 +1,5 @@ @{ - ViewData["Title"] = "Home Page"; + ViewData["Title"] = "Agent List"; } @model List diff --git a/RobotsWantedLeague/Views/Robots/Robot.cshtml b/RobotsWantedLeague/Views/Robots/Robot.cshtml index e1d0770..dd8d05c 100644 --- a/RobotsWantedLeague/Views/Robots/Robot.cshtml +++ b/RobotsWantedLeague/Views/Robots/Robot.cshtml @@ -14,7 +14,7 @@ - +
Nom