Ajax.ActionLink (ビューから) から Int 配列を Controller にパラメーターとして渡すことはできますか?
これが私の見解です
@{
int [] IDArray = ViewBag.AllIds;
}
@Ajax.ActionLink("send", "SendtoSS", new { id= IDArray }, new AjaxOptions
{
OnBegin = "Routing",
UpdateTargetId = "dialog-model",
InsertionMode = InsertionMode.Replace
}, new { @class = "button" })
私のコントローラーで
public ActionResult SendtoSS(int[] ID)
{
}