Ejemplo n.º 1
0
        public List <Address> GetAddressData(int nbLine)
        {
            List <Address> result = _dataSet.GetAddressData();

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