「url」セクションから MapRoute の「default」セクションのメソッドにパラメーターを渡すことは可能ですか?
routes.MapRoute(
name: "Language",
url: "{language}/{controller}/{action}/{id}-{description}",
defaults: new { Controller = "Home", action = "Index", id = UrlParameter.Optional, language = UrlParameter.Optional, description = GetDescription(id) }
);
パラメータなしで GetDescription() を呼び出すことはできますが、URL からパラメータを渡す方法がわかりません。GetDescription(id)?