This is my controller:
public ActionResult GetFilterUsers(int pageNumber)
{
//......
}
This is my js code:
$('#users-data-table').DataTable({
serverSide: true,
ajax: {
url: "@(Url.Action("GetFilterUsers", "Users", new { area = "Admin" }))/" + table.page.info().page,
type: "GET"
}
});
this specific URL string isn't functioning correctly
url: "@(Url.Action("GetFilterUsers", "Users", new { area = "Admin" }))/" + table.page.info().page,
Could someone advise me on how to successfully pass table.page.info().page
to my controller?