Pagination interface implementation. Will be moved out of Index.cshtml page to a shared space.