/// <summary> /// This method will add the URL in the xml directly from a bulk add using the Enterprise Mode Site List Manager. /// </summary> /// <param name="tickets">Array of Tickets model objects</param> /// <returns>bool</returns> public bool AddToV2XMLBulk(Tickets[] tickets) { Configuration config = null; if (LoginController.config == null) { using (ConfigurationController configController = new ConfigurationController()) { config = configController.GetConfiguration(); } } else { config = LoginController.config; } bool saved = false; foreach (Tickets ticket in tickets) { xmlHelper.AddToV2XMLBulk(ticket, config, !saved); if (!saved) { saved = true; } } return(true); }