public CommentResponse(Comment comment, CurrentUser user) { Init(comment); Owner = new UserResponse(user); }
public PostResponse(Post post, CurrentUser user) { Init(post); Owner = new UserResponse(user); }
public CommentResponse(Comment comment) { Init(comment); Owner = new UserResponse(comment.Owner); }
public PostResponse(Post post) { Init(post); Owner = new UserResponse(post.Owner); Comments = CommentResponse.GetResponseList(post.Comments); }