Define the function in .Layout.cshtml
<script>
$(document).ready(function () {
$('[data-action=navigate]').on('click', function (e) {
e.preventDefault();
var url = $(this).attr('data-action-target');
var params = $(this).attr('data-action-parameters');
url = url + (params ? ("?" + params) : "");
window.location.href = url;
});
</script></script>
and call it in the Html link as;
<a href="#" data-action="navigate" data-action-target="@Url.Action("controller-method", "NewThread" new {title="Here-is-my-title="})">LinkName</a>
It will give you the url:
../NewThread/Here-is-my-title
and in the controller action can define
public ActionResult controller-method(string title)
{
}