private IDictionary <string, object> GenerateLinks(
            ILinkGenerator <TInput> generator, TInput source)
        {
            var links = generator.GenerateLinks(this.urlHelper, source);

            return(NamedLink.BuildLinks(links));
        }
        private void GenerateLinks()
        {
            var links = this.linkGenerator.GenerateLinks(this.paginationMetaInfoStorage.Value);

            this.restEntityCollection.Links = NamedLink.BuildLinks(links);
        }