public CharacterAttributeNameResource EnrichCharacterAttributeName(ICharacterAttributeName characterAttributeName) { var enricher = new CharacterAttributeNameResourceEnricher(_linkProvider, _mapper, _linkGenerator, _httpContext); return(enricher.Enrich(characterAttributeName)); }
public ManyCharacterAttributeNameResourceEnricher(CharacterAttributeNameResourceEnricher singleResourceEnricher) : base(singleResourceEnricher.LinkProvider, singleResourceEnricher.EntityToDtoMapper, singleResourceEnricher.LinkGenerator, singleResourceEnricher.Context) { Guard.VerifyObjectNotNull(singleResourceEnricher, nameof(singleResourceEnricher)); _singleResourceEnricher = singleResourceEnricher; }