private void SubmitAuditItems()
 {
     if (auditItems.Count != 0)
     {
         AuditHandler.InsertAuditItems(auditItems);
         this.auditItems.Clear();
     }
 }
 private void SubmitAuditItem(Item item)
 {
     CreateAuditItems(item);
     if (this.auditItems.Count != 0)
     {
         AuditHandler.InsertAuditItems(this.auditItems);
         this.auditItems.Clear();
     }
 }
Exemple #3
0
 private void SubmitAuditItem(string title, int groupID, bool isActive)
 {
     CreateAuditItems(title, groupID, isActive);
     if (this.auditItems.Count != 0)
     {
         AuditHandler.InsertAuditItems(this.auditItems);
         this.auditItems.Clear();
     }
 }