/// <summary> /// Add checklist item. /// </summary> /// <param name="staffChecklist"> /// The staff checklist. /// </param> public virtual void AddChecklistItem(StaffChecklistItem staffChecklist) { staffChecklist.Staff = this; _staffChecklist.Add(staffChecklist); NotifyItemAdded(() => StaffChecklist, staffChecklist); }
/// <summary> /// Remove checklist item. /// </summary> /// <param name="staffChecklistItem"> /// The staff checklist item. /// </param> public virtual void RemoveChecklistItem( StaffChecklistItem staffChecklistItem ) { _staffChecklist.Remove ( staffChecklistItem ); NotifyItemRemoved ( () => StaffChecklist, staffChecklistItem ); }
/// <summary> /// Add checklist item. /// </summary> /// <param name="staffChecklist"> /// The staff checklist. /// </param> public virtual void AddChecklistItem( StaffChecklistItem staffChecklist ) { staffChecklist.Staff = this; _staffChecklist.Add ( staffChecklist ); NotifyItemAdded ( () => StaffChecklist, staffChecklist ); }
/// <summary> /// Remove checklist item. /// </summary> /// <param name="staffChecklistItem"> /// The staff checklist item. /// </param> public virtual void RemoveChecklistItem(StaffChecklistItem staffChecklistItem) { _staffChecklist.Remove(staffChecklistItem); NotifyItemRemoved(() => StaffChecklist, staffChecklistItem); }