Example #1
0
        public async Task <bool> ItemExists(string key, Table table)
        {
            bool result = cache.ItemExists(key);

            if (!result)
            {
                Document doc = await table.GetItemAsync(key);

                if (doc != null)
                {
                    result = true;
                }
            }

            return(result);
        }