Beispiel #1
0
 public Task SaveAsync(string path, string contentType, Stream stream)
 {
     return(_googleStorageService.UploadFileAsync(path, contentType, stream));
 }
 private async Task UploadPdfAsync(JumpStart jumpStart, byte[] pdfData)
 {
     await _googleStorageService.UploadFileAsync(GetName(jumpStart), "application/pdf", new MemoryStream(pdfData));
 }