Example #1
0
        public bool Delete(Tree config)
        {
            if (config.ChildNodes.Contains(nodeConfig))
            {
                config.ChildNodes.Remove(nodeConfig);
            }

            return(AMSHelper.RemoveMailList(maillistName) &&
                   AMSHelper.SetMailListsConfig(config));
        }