/// <summary> /// Asynchronously gets the mapping Ids of the specified outcome /// </summary> public async Task <IEnumerable <IOutcomeMapping> > GetMappedOutcomeIdsAsync() { var mappedIds = await _mappingProvider.GetMappedOutcomeIdAsync(Id, _cultures).ConfigureAwait(false); return(mappedIds); }
public virtual async Task <IOutcomeMapping> GetMappedOutcomeIdAsync() { var mappedId = await _mappingProvider.GetMappedOutcomeIdAsync(Id, _cultures).ConfigureAwait(false); return(mappedId?.First()); }