src/fursvp.data/RepositoryDecorators/CachingRepository.cs
/// <summary>
/// Permanently removes an existing document representing <see ref="T" /> from the repository by exposing the decorated method, and from the cache.
/// </summary>
/// <param name="guid">The globally unique identifier for the entity.</param>
/// <returns>An asynchronous <see cref="Task{T}"/>.</returns>
Permanently removes an existing document representing  from the repository by exposing the decorated method, and from the cache.
Permanently removes an existing document representing from the repository by exposing the decorated method and from the cache .
public async Task Delete(Guid guid)
        {
            await Decorated.Delete(guid).ConfigureAwait(false);
            MemoryCache.Remove(guid);
        }
public async Task Delete ( Guid guid ) { await Decorated . Delete ( guid ) . ConfigureAwait ( false ) ; MemoryCache . Remove ( guid ) ; }
Permanently removes an existing document representing  from the repository by exposing the decorated method, and from the cache.
Permanently removes an existing document representing from the repository by exposing the decorated method and from the cache .
An asynchronous .
An asynchronous .
guid
Guid
The globally unique identifier for the entity.
The globally unique identifier for the entity .