Beispiel #1
0
        public async Task <bool> Add(TicketCacheEntry entry)
        {
            if (await Contains(entry))
            {
                return(false);
            }

            await cache.Add(entry);

            return(true);
        }
 public async Task <bool> Add(TicketCacheEntry entry)
 {
     return(await cache.Add(entry));
 }