public GetPostCommentByIdResponse(Guid id, string content, DateTime createdAt, GetAccountByIdResponse creator) { Id = id; Content = content; CreatedAt = createdAt; Creator = creator; }
public GetPostByIdWithCommentsResponse(Guid id, string imageUrl, DateTime createdAt, GetAccountByIdResponse creator, IEnumerable <GetPostCommentByIdResponse> comments) { Id = id; ImageUrl = imageUrl; Comments = comments; CreatedAt = createdAt; Creator = creator; }