title: Asp .net core - send parameters using Html.ActionLink
body: <p>during code writing I encountered a problem which I do not know how to solve.
  I need to send some parameters into Index using Html.ActionLink but if I use this type of code i send only &quot;Name&quot; and &quot;true&quot; but <em><strong>no parameters</strong></em> from Model.state:</p>
  <pre><code> @Html.ActionLink(&quot;Name&quot;, &quot;Index&quot;, &quot;Home&quot;, new { Model.state, sortBy = &quot;Name&quot;, isNameSortedDescending = true })
  </code></pre>
  <p>However, if I use this kind of code I send Model.state (3 x true) without &quot;Name&quot; and &quot;true&quot;:</p>
  <pre><code>@Html.ActionLink(&quot;Name&quot;, &quot;Index&quot;, &quot;Home&quot;,  Model.state, new { sortBy = &quot;Name&quot;, isNameSortedDescending = true })
  </code></pre>
  <p>Does someone know how to send all of this parameters?</p>