diff --git a/src/Orchard.Azure/AzureFileSystem.cs b/src/Orchard.Azure/AzureFileSystem.cs index 82ef0f7ae..b8170b117 100644 --- a/src/Orchard.Azure/AzureFileSystem.cs +++ b/src/Orchard.Azure/AzureFileSystem.cs @@ -154,15 +154,16 @@ namespace Orchard.Azure { } } - public void TryCreateFolder(string path) { + public bool TryCreateFolder(string path) { EnsurePathIsRelative(path); using (new HttpContextWeaver()) { if (Container.DirectoryExists(String.Concat(_root, path))) { - return; + return true; } CreateFile(Combine(path, FolderEntry)); } + return true; } public void CreateFolder(string path) { diff --git a/src/Orchard.Azure/FileSystems/Media/AzureBlobStorageProvider.cs b/src/Orchard.Azure/FileSystems/Media/AzureBlobStorageProvider.cs index e6fe9acac..341b06938 100644 --- a/src/Orchard.Azure/FileSystems/Media/AzureBlobStorageProvider.cs +++ b/src/Orchard.Azure/FileSystems/Media/AzureBlobStorageProvider.cs @@ -10,5 +10,14 @@ namespace Orchard.Azure.FileSystems.Media { } public AzureBlobStorageProvider(ShellSettings shellSettings, CloudStorageAccount storageAccount) : base("media", shellSettings.Name, false, storageAccount) { } + + + public bool TrySaveStream(string path, System.IO.Stream inputStream) { + throw new System.NotImplementedException(); + } + + public void SaveStream(string path, System.IO.Stream inputStream) { + throw new System.NotImplementedException(); + } } } \ No newline at end of file