public
Created

  • Download Gist
Action.cs
C#
1 2 3 4 5 6 7 8 9 10
public ActionResult Index()
{
var query = new ListPostsQuery(RavenSession);
 
RavenQueryStatistics stats;
 
var posts = query.Execute(CurrentPage, DefaultPage, PageSize, out stats);
 
return ListView(stats.TotalResults, posts);
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.