public override bool RemoveBlobStream(Guid blobId, CallContext context) { Assert.ArgumentNotNull(context, "context"); if (!_externalBlobStorageProviderConfigured) { return(base.RemoveBlobStream(blobId, context)); } return(_blobStorageProvider.Delete(blobId.ToString())); }
/// <summary> /// Delete vertex definition with given name /// </summary> /// <param name="vertexDefinition"></param> public async Task DeleteVertexDefinitionAsync(string vertexDefinition) { await _vertexManager.DeleteInstanceVertex("", vertexDefinition); await _blobStorage.Delete(vertexDefinition + "/binaries"); }