私は誰かが助けるのに十分な情報を与えたことを望んでいます。(私は、関連性がないと感じたコードの一部を切り取りました)
私はjqueryテンプレートを持っています。その中にはIDをActionResultに返すリンクがあります。私の質問は、ActionResultが2つのパラメーターを受け取るように、リンクに別のパラメーターを追加するための構文は何ですか。
<script id="searchTemplate" type="text/x-jquery-tmpl">
<a href="/Search/Details/${JournalId} WHAT GOES HERE? ">
</script>
public ActionResult Details(int id, string otherParameter)
{
var item = ctx.Journals.Find(id);
return View("Details", item);
}