protected async Task <Guid> AddBlob(string bucket, string fileName, IDictionary <string, object> metadata = null) { var path = Path.Combine(Directory.GetCurrentDirectory(), "Resources", fileName); if (!System.IO.File.Exists(path)) { throw new FileNotFoundException(path); } var blobId = await BlobStorage.AddFileAsync(fileName, System.IO.File.OpenRead(path), "application/octet-stream", bucket, metadata); return(blobId); }