public
Created

  • Download Gist
Controller.cs
C#
1 2 3 4 5 6 7 8
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);
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.