Exemple #1
0
 public override IEnumerable <CharacterResource> Enrich(IEnumerable <ICharacter> content, bool expand = false)
 {
     return(content.Select(character => _singleResourceEnricher.Enrich(character)));
 }
        public CharacterResource EnrichCharacter(ICharacter character)
        {
            var enricher = new CharacterResourceEnricher(_linkProvider, _mapper, _linkGenerator, _httpContext);

            return(enricher.Enrich(character));
        }