public async Task <bool> AddSnapshotAsync(ISnapshot snapshot, CancellationToken cancellationToken)
        {
            var result = await _persistence
                         .AddSnapshotAsync(snapshot, cancellationToken)
                         .ConfigureAwait(false);

            if (result)
            {
                _counters.CountSnapshot();
            }

            return(result);
        }
 public Task <bool> AddSnapshotAsync(ISnapshot snapshot, CancellationToken cancellationToken)
 {
     return(_original.AddSnapshotAsync(snapshot, cancellationToken));
 }