How to pass parameter from ActionLink to controller at runtime
<p>I am new to Asp.net and currently I want to pass some parameter (selected user Id list) to the controller when user click the action link button, below is the action link code,</p>

<pre><code>@Html.ActionLink("Edit Selected", "EditSelected", new { selectedUserIds = @Model.GetSelectedUserIds() })
</code></pre>

<p>The action in the controller is as below</p>

<pre><code>// GET: 
    public async Task&lt;ActionResult&gt; EditSelected(List&lt;string&gt; selectedUserIds)
    {
</code></pre>

<p>But I found that the ActionLink is just compile when page is loaded and the selectedUserIds parameter will not be updated when I click this link button, so how can I handle this?</p>