Пример #1
0
        public bool AddContentToDirectory(ClaimsContent content)
        {
            int startingCount = _contentDirectory.Count;

            _contentDirectory.Add(content);
            bool wasAdded = (_contentDirectory.Count > startingCount) ? true : false;

            return(wasAdded);
        }
Пример #2
0
        public bool DeleteClaimItems(ClaimsContent existingContent)      //NOT USED FOR FUTURE DEV. IF NEEDED
        {
            bool deleteResult = _contentDirectory.Remove(existingContent);

            return(deleteResult);
        }