public PostSummary(Post post, Documents.Blog blog, int index, int total) { this.post = post; this.blog = blog; this.index = index + 1; // not zero indexed from users perspective this.total = total; }
public PostBody(Post post, Documents.Blog blog) { this.post = post; this.blog = blog; }