Пример #1
0
 /// <summary>
 /// Deletes a file from GridFS.
 /// </summary>
 /// <param name="id">The file id.</param>
 /// <param name="cancellationToken">The cancellation token.</param>
 /// <returns>A Task.</returns>
 public Task DeleteAsync(BsonValue id, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(_bsonValueBucket.DeleteAsync(id, cancellationToken));
 }