public async Task <IMarketMapping> GetMappedMarketIdAsync() { var mappedIds = await MappingProvider.GetMappedMarketIdAsync(_cultures).ConfigureAwait(false); return(mappedIds?.First()); }
/// <summary> /// Asynchronously gets the mapping Ids of the specified market /// </summary> public async Task <IEnumerable <IMarketMapping> > GetMappedMarketIdsAsync() { var mappedIds = await MappingProvider.GetMappedMarketIdAsync(_cultures).ConfigureAwait(false); return(mappedIds); }