Пример #1
0
        public Dictionary <string, CardLimitsRange> FindAllRanges()
        {
            var currencies = _currencyRepository.FindAll();
            var keys       = currencies
                             .Select(x => x.ISOName)
                             .Select(x => string.Format(RangeLimitsKey, x))
                             .ToArray();

            return(_settingRepository.BatchGet <CardLimitsRange>(keys));
        }