示例#1
0
        public IBarelyView List()
        {
            var c = CommentData.Collection()
                    .FindAllAs <CommentData>()
                    .SetSortOrder(SortBy.Descending("Posted"));
            var v = new CommentListView();

            v.Comments = c;
            return(v);
        }