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