Beispiel #1
0
 public ManyUniqueDataResourceEnricher(UniqueDataResourceEnricher singleResourceEnricher)
     : base(singleResourceEnricher.LinkProvider, singleResourceEnricher.EntityToDtoMapper, singleResourceEnricher.LinkGenerator, singleResourceEnricher.Context)
 {
     _singleResourceEnricher = singleResourceEnricher;
 }
        public dynamic EnrichUniqueData(IUniqueData uniqueData)
        {
            var enricher = new UniqueDataResourceEnricher(_linkProvider, _mapper, _linkGenerator, _httpContext);

            return(enricher.Enrich(uniqueData));
        }