how to get windows location href parameter value in window.location.href 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 = "" })';