public CharacterAttributeNameResource EnrichCharacterAttributeName(ICharacterAttributeName characterAttributeName)
        {
            var enricher = new CharacterAttributeNameResourceEnricher(_linkProvider, _mapper, _linkGenerator, _httpContext);

            return(enricher.Enrich(characterAttributeName));
        }
示例#2
0
 public override IEnumerable <CharacterAttributeNameResource> Enrich(IEnumerable <ICharacterAttributeName> content, bool expand = false)
 {
     return(content.Select(characterAttributeRowName => _singleResourceEnricher.Enrich(characterAttributeRowName)));
 }