Esempio n. 1
0
 public MeetingComment AddComment(MemberId authorId, string comment, MeetingGroup meetingGroup, MeetingCommentingConfiguration meetingCommentingConfiguration)
 => MeetingComment.Create(
     this.Id,
     authorId,
     comment,
     meetingGroup,
     meetingCommentingConfiguration);
        public MeetingComment AddComment(MemberId authorId, string comment)
        {
            this.CheckRule(new CommentCanBeAddedOnlyByAttendeeRule(authorId, _attendees));

            return(MeetingComment.Create(this.Id, authorId, comment));
        }