private void OnCommentAdded(MeetupDocument document, MeetupCommentAdded @event) { document.Comments.Add(new MeetupComment { CommentatorId = @event.CommentatorId, Comment = @event.Comment, CreatedDate = @event.CreatedDate }); }
private void OnCommentAdded(MeetupCommentAdded @event) { _comments.Add(new MeetupComment { CommentatorId = new CommentatorId(@event.CommentatorId), Comment = new Comment(@event.Comment), CreatedDate = @event.CreatedDate }); }