how to pass multiple parameter in @Url.action
<p>My javascript function is as follows</p>

<pre><code>function SelectVoucher(Vid, vDeptCode) {
    var voucherID = Vid;
    var vDeptCode = vDeptCode;
    window.location.href = "@Url.Action("Edit_Voucher", "Voucher", new { id = voucherID }) ";
}
</code></pre>

<p>but <code>new { id = voucherID }</code> gives me an error as:</p>

<blockquote>
  <p>voucher id does not exists in current Context.</p>
</blockquote>