function GetNewContact() {
var oldId = document.getElementById("idOldContact").value;
$.ajax({
type: "GET",
url: '@Url.Action("NewContacts", "Home", new { idOldContact =oldId})',
success: function(msg){
$('#tableBody').append(msg);
}
})
}
url: '@Url.Action("NewContacts", "Home", new { idOldContact =oldId})'