window.location.href get token 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 = "" })';