Stuff
public text v1 · immutableModel:
if (pageIndex <= 0)
{
pageIndex = 1;
}
int startIndex = (pageIndex * pageSize) - pageSize;
SlicedFindAll(typeof(Whatever), startIndex, pageSize);
Controller:
PaginationHelper.CreateCustomPage(Controllers, datasource, currentPage, totalRecords)