Example #1
0
 public Task <bool> Delete(DocumentId id, CancellationToken token = default) => _store.Delete(id.ToZipFileName(), token: token);
Example #2
0
    public async Task <bool> Delete(DocumentId documentId, CancellationToken token = default)
    {
        _memoryCache?.Remove(GetKey(documentId));

        return(await _store.Delete(documentId.ToJsonFileName(), token : token));
    }