feat: ajout des routes pour les contrôleurs Titre et Artiste

This commit is contained in:
mirage
2026-04-01 15:31:12 +02:00
parent 95123b0b3f
commit c2107303f6

View File

@@ -13,6 +13,16 @@ public static class RouteConfiguration
pattern: "titres/style/{style}",
defaults: new { controller = "Titre", action = "Style" });
endpoints.MapControllerRoute(
name: "TitreIndex",
pattern: "titre/{id}",
defaults: new { controller = "Titre", action = "Index" });
endpoints.MapControllerRoute(
name: "ArtisteIndex",
pattern: "artiste/{nom}",
defaults: new { controller = "Artiste", action = "Index" });
// ----------- ADMIN -----------