交通和交通部与交通部一道,通过下列法典进行路线操作:
routes.MapRoute("Default",
"{controller}/{action}/{id}",
new { controller = "Home", action = "Index", id = UrlParameter.Optional });
It is easy to change the controllers and actions. Do I have access to such a controller at WebMatrix? Or do i need to catch each variable with UrlData[0].ToString()
. Thanks in advance!