I am trying to add attributes like ID into pagination so I can perform some actions in JS on behalf of that.
@Html.PagedListPager(Model, page => Url.Action("ConfirmCases", new { page }))
when I tried to add it shows in the URL. Does anybody know how I can set an ID in this case?
any helps regarding this would be appreciated.