예제 #1
0
        /// <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);
        }
예제 #2
0
        public virtual async Task <IOutcomeMapping> GetMappedOutcomeIdAsync()
        {
            var mappedId = await _mappingProvider.GetMappedOutcomeIdAsync(Id, _cultures).ConfigureAwait(false);

            return(mappedId?.First());
        }