commit 3a2847a6d6cc1270b688f7e20e4e5fce639d5267 parent d8a662f89952df86469dd0bbcf685dc0fc01c1c6 Author: William Lindholm <a22willi@student.his.se> Date: Mon, 9 Oct 2023 11:43:02 +0200 Changed default controller to AgentsController. Diffstat:
| M | MVC-databaskonstruktion/Program.cs | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MVC-databaskonstruktion/Program.cs b/MVC-databaskonstruktion/Program.cs @@ -22,6 +22,6 @@ app.UseAuthorization(); app.MapControllerRoute( name: "default", - pattern: "{controller=Home}/{action=Index}/{id?}"); + pattern: "{controller=Agents}/{action=Index}/{id?}"); app.Run();