views:

49

answers:

0

Is it possible to put this in a sitemap?

routes.MapRoute("Event_Groep_Route", // Route name
                "{EventName_Url}/{GroepID}/{controller}/{action}/{id}",
                  new { EventName_Url = UrlParameter.Optional, GroepID = UrlParameter.Optional, controller = "Home", action = "Index", id = UrlParameter.Optional });
  • EventName_Url depends on rows in the database.
  • I want to use this sitemap for my navigation menu.

TY