title: how to pass list type property to controller in mvc
body: <p>Model</p>
  
  <pre><code>public List&lt;Int32&gt; OrderId { get; set; }
  </code></pre>
  
  <p>View</p>
  
  <pre><code>&lt;a class="btn btn-primary" data-click="modal-show" href="@Url.Action("PrintInvoice", "list", new {@id = Model.OrderId })" title="Print Tax Invoice"&gt;Print Invoice&lt;/a&gt;
  </code></pre>
  
  <p>Controller</p>
  
  <pre><code>public action list(list&lt;int&gt; id)
  {
      return view()
  }
  public action test()
   {
     test model=new test();
     model.Orderid=getlist();
      return view(model)
   }
  </code></pre>
  
  <p>how to pass list type value pass to controller ,otherwise please Suggest the method</p>