/// <summary> /// Adds the lab result. /// </summary> /// <param name="labResult">The lab result.</param> public virtual void AddLabResult( LabResult labResult) { Check.IsNotNull ( labResult, "Lab Result is required." ); labResult.LabTest = this; _labResults.Add(labResult); NotifyItemAdded(() => LabResults, labResult); }
/// <summary> /// Removes the lab result. /// </summary> /// <param name="labResult">The lab result.</param> public virtual void RemoveLabResult(LabResult labResult) { Check.IsNotNull(labResult, "Lab Result is required."); _labResults.Delete(labResult); NotifyItemRemoved(() => LabResults, labResult); }