Ejemplo n.º 1
0
        public IEnumerable <IGalleryInfo> FetchGalleryInfos(int?count)
        {
            var db = new TooksCmsDAL();

            return(db.GetGalleryInfo(null).Take(count.HasValue ? count.Value : 10).OrderByDescending(gi => gi.CreatedDate));
        }
Ejemplo n.º 2
0
        public IEnumerable <IGalleryInfo> FetchGalleryInfos()
        {
            var db = new TooksCmsDAL();

            return(db.GetGalleryInfo(null).OrderByDescending(gi => gi.CreatedDate));
        }