You use jquery function to do the call for submitting the data to the controller. Your function may look like this:
$('#YourLink').click(function () {
$.ajax({
url: http://{hostname}/Person/Search,
type: 'GET',
data: {
id: "@ViewBag.ID",
name: "@ViewBag.Name"
},
success: function () {
},
error: function () {
}
});
and in the controller call you can write as below to grab the data
public ActionResult Search(int id, string name)
{
}
Hope this will help.