onclick window.location.href pass parameter code example
Example: window.location.href url.action parameters
window.location.href = '@Url.Action("Action", "Controller", new { param1 = "", param2 = "" })';
window.location.href = '@Url.Action("Action", "Controller", new { param1 = "", param2 = "" })';