private Action <string, DescendantIdsResponse> AddPickertToCache()
 {
     return((id, content) =>
     {
         cache.Add(CacheSettings.GetPickerKey(id), content);
     });
 }
        private TryFunc <string, DescendantIdsResponse> TreePickerIdCacheSearch()
        {
            return((string id, out DescendantIdsResponse value) =>
            {
                value = null;
                DescendantIdsResponse content;
                if (!cache.TryGet(CacheSettings.GetPickerKey(id), out content))
                {
                    return false;
                }

                value = content;
                return true;
            });
        }