public override async Task <ActionResult <List <string> > > HandleAsync() { var otherMaterials = await _sentinelEntryRepository.Other(s => s.OtherMaterial).ConfigureAwait(false); return(Ok(otherMaterials)); }
public override async Task <ActionResult <List <string> > > HandleAsync() { var otherSpecies = await _sentinelEntryRepository.Other(s => s.OtherIdentifiedSpecies).ConfigureAwait(false); return(Ok(otherSpecies.Union(_configuredOtherSpecies).Distinct().OrderBy(s => s))); }