Exemple #1
0
        public ReportInstanceTaskComment AddComment(string comment)
        {
            var newTaskComment = new ReportInstanceTaskComment(comment);

            _comments.Add(newTaskComment);
            return(newTaskComment);
        }
Exemple #2
0
        private void AddTaskCommentAddedDomainEvent(ReportInstanceTaskComment newComment)
        {
            var domainEvent = new TaskCommentAddedDomainEvent(newComment);

            this.AddDomainEvent(domainEvent);
        }