예제 #1
0
        public async Task <IMarketMapping> GetMappedMarketIdAsync()
        {
            var mappedIds = await MappingProvider.GetMappedMarketIdAsync(_cultures).ConfigureAwait(false);

            return(mappedIds?.First());
        }
예제 #2
0
        /// <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);
        }