// methods /// <summary> /// Deletes a file from GridFS. /// </summary> /// <param name="id">The file id.</param> /// <param name="cancellationToken">The cancellation token.</param> public void Delete(BsonValue id, CancellationToken cancellationToken = default(CancellationToken)) { _bsonValueBucket.Delete(id, cancellationToken); }