List<PersonResource> resources = assembler.toResources(people);
long size = 5;
long number = 1;
long totalElements = resources.size();
long totalPages = totalElements / size;
PageMetadata pageMetadata = new PageMetadata(size, number, totalElements, totalPages);
PagedResources<PersonResource> pagedResources = new PagedResources<PersonResource>(resources, pageMetadata);
return new HttpEntity<PagedResources<PersonResource>>(pagedResources);
}