How to add First and Last button option in asp.net mvc page list
Solution:
its very simple just add " PagedListRenderOptions.ClassicPlusFirstAndLast"
So code in mvc view will be as "@Html.PagedListPager(Model.Ad, page => Url.Action("Index", new { page, pageSize = Model.PageSize, searchstr = Model.SearchString, isSearch = true }), PagedListRenderOptions.ClassicPlusFirstAndLast) "