This commit is contained in:
2021-10-25 20:53:17 +00:00
parent 0b7b5b0383
commit 2e9b584626

View File

@@ -422,7 +422,7 @@ namespace AyaNova.Biz
reportRequest.IncludeWoItemDescendants = report.IncludeWoItemDescendants;
//Get data
var ReportData = await GetReportData(reportRequest);
var ReportData = await GetReportData(reportRequest);//SLOW
//if GetReportData errored then will return null so need to return that as well here
if (ReportData == null)
{
@@ -699,7 +699,7 @@ namespace AyaNova.Biz
//render to pdf and return
log.LogDebug($"Calling render page contents to PDF");
await page.PdfAsync(outputFullPath, PdfOptions);
await page.PdfAsync(outputFullPath, PdfOptions);//SLOW
log.LogDebug($"Completed, returning results");
return outputFileName;