示例#1
0
 public override IEnumerable <dynamic> Enrich(IEnumerable <IUniqueData> content, bool expand = false)
 {
     return(content.Select(data => _singleResourceEnricher.Enrich(data)));
 }
        public dynamic EnrichUniqueData(IUniqueData uniqueData)
        {
            var enricher = new UniqueDataResourceEnricher(_linkProvider, _mapper, _linkGenerator, _httpContext);

            return(enricher.Enrich(uniqueData));
        }