public override IEnumerable <CharacterAttributeRowResource> Enrich(IEnumerable <ICharacterAttributeRow> content, bool expand = false) { return(content.Select(characterAttributeRow => _singleResourceEnricher.Enrich(characterAttributeRow))); }
public CharacterAttributeRowResource EnrichCharacterAttributeRow(ICharacterAttributeRow characterAttributeRow) { var enricher = new CharacterAttributeRowResourceEnricher(_linkProvider, _mapper, _linkGenerator, _httpContext); return(enricher.Enrich(characterAttributeRow)); }