Ejemplo n.º 1
0
        /// <summary>
        /// Deletes the signed comment.
        /// </summary>
        /// <param name="signedComment">The signed comment.</param>
        public virtual void DeleteSignedComment(ClinicalCaseSignedComment signedComment)
        {
            Check.IsNotNull(signedComment, "Clinical case signed comment is required.");

            _signedComments.Delete(signedComment);
            NotifyItemRemoved(() => SignedComments, signedComment);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Adds the signed comment.
        /// </summary>
        /// <param name="signedComment">The signed comment.</param>
        public virtual void AddSignedComment(ClinicalCaseSignedComment signedComment)
        {
            Check.IsNotNull(signedComment, "Clinical case signed comment is required.");

            signedComment.ClinicalCase = this;
            _signedComments.Add(signedComment);
            NotifyItemAdded(() => SignedComments, signedComment);
        }