window.location.href with parameters in mvc 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 = "" })';