public static List <Top10Product> GetTop10Products(string from, string to)
        {
            var dal        = new Top10ProductDAL();
            var collection = new List <Top10Product>();

            foreach (DataRow row in dal.GetTop10Products(from, to).Rows)
            {
                var instance = new Top10Product();
                instance.Bind(row);
                collection.Add(instance);
            }

            return(collection);
        }
        public static List<Top10Product> GetTop10Products(string from, string to)
        {
            var dal = new Top10ProductDAL();
            var collection = new List<Top10Product>();

            foreach (DataRow row in dal.GetTop10Products(from, to).Rows)
            {
                var instance = new Top10Product();
                instance.Bind(row);
                collection.Add(instance);
            }

            return collection;
        }