示例#1
0
        public List <Currency> GetCurrencyData(int nbLine)
        {
            List <Currency> result = _dataSet.GetCurrencyData();

            if (nbLine.Equals(999) || result.Count == 0 || result.Count < nbLine)
            {
                return(result);
            }

            return(result.GetRange(0, nbLine));
        }