Skip to content

Instantly share code, notes, and snippets.

@jbogard
Created November 6, 2012 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbogard/4025056 to your computer and use it in GitHub Desktop.
Save jbogard/4025056 to your computer and use it in GitHub Desktop.
public ActionResult Archive(int year, int? month, int? day)
{
List<Post> posts;
var stats = postsRepository.QueryPostStats(year, month, day, out posts);
return ListView(stats.TotalResults, posts);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment