private static string GetPageUri(IUriService uriService, PaginationQuery pagination, int currentPage, string controllerName) { return(uriService.GetAllResources(new PaginationFilter(currentPage, pagination.PageSize), controllerName) .ToString()); }