Get all categories.
Current Page
Number of categories per page
Page Number
No of records per page
Total number of records