Exemple #1
0
 public IBarelyView List()
 {
     var c=CommentData.Collection()
         .FindAllAs<CommentData>()
         .SetSortOrder(SortBy.Descending("Posted"));
     var v=new CommentListView();
     v.Comments=c;
     return v;
 }
Exemple #2
0
        public IBarelyView List()
        {
            var c = CommentData.Collection()
                    .FindAllAs <CommentData>()
                    .SetSortOrder(SortBy.Descending("Posted"));
            var v = new CommentListView();

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