/// <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); }
/// <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); }