#185 formulaire admin Artiste et style.

This commit is contained in:
b.nodon
2026-04-02 16:11:10 +02:00
parent 94599723cc
commit 2e5e5086bc
11 changed files with 29 additions and 20 deletions

View File

@@ -23,9 +23,7 @@ public static class RouteConfiguration
pattern: "artiste/{nom}",
defaults: new { controller = "Artiste", action = "Index" });
// ----------- ADMIN -----------
var adminRoutes = new Dictionary<string, string>
{
{ "artistes", "Artiste" }, { "commentaires", "Commentaire" }, { "styles", "Style" }, { "titres", "Titre" },
@@ -39,9 +37,7 @@ public static class RouteConfiguration
defaults: new { area = "Administration", controller = route.Value, action = "Index" });
}
// --- AUTRE PROUTES ---
endpoints.MapControllerRoute(
name: "areas",
pattern: "{area:exists}/{controller=Home}/{action=Index}/{id?}");