public async Task GenerateAndSaveIllustration(Guid meetingId, IllustrationRequest illustrationRequest) { var pdfService = new PdfService(_templateProvider, illustrationRequest); var key = pdfService.GeneratedId; var stream = await pdfService.CreateForm1(); var bytedata = stream.ReadToEnd(); // _blogStorage.StoreValue(key, new MemoryStream(bytedata)); PDFDocController.InsertDocument(key, bytedata); NotifyPdfAvailable(meetingId, key); }