private void UpdateEventTypeEnabledState(ACConfiguration configuration)
        {
            if (_systemProperties == null || string.IsNullOrEmpty(_systemProperties.Address))
            {
                return;
            }

            var eventTypes = configuration.ACElements.OfType <ACEventType>().Select(x => new Tuple <string, bool>(x.Id, x.IsEnabled));

            _client.UpdateEventTypeEnabledStates(_systemProperties.AdminUser, _systemProperties.AdminPassword, eventTypes.ToArray()).Wait();
        }