feat: ajout des routes pour les contrôleurs Titre et Artiste
This commit is contained in:
@@ -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 -----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user