FileContentResult from jsReport
Joop Stringer DC
Using ASP.NET - MVC
I would like to know how to configure jsReport to be able to return the generated PDF as FileContentResult.
This because I would like to store the generated PDF in database and don't want to use diskstorage.
I want to use it to send PDF of invoice to customer in an email.
public FileContentResult InvoicePDFFile(string viewName, model myMod)
<... do jsReport stuff >
return File(fileContent.ToArray(), "application/pdf", fileName );