Exemplo n.º 1
0
        public FileContentResult GetInOutInspectionReport(int InspectionID)
        {
            PDFManager pdfManager = new PDFManager(Server);
            InOutInspectionPDF inspectionPdf = new InOutInspectionPDF(pdfManager);
            inspectionPdf.GeneratePDF(InspectionID);


            // return the actual PDF
            string fileName = "test.pdf";
            FileContentResult reportResult = GetFileContent(fileName);

            return reportResult;           
            
        }
Exemplo n.º 2
0
 public InOutInspectionPDF(PDFManager manager)
 {
     p = manager;
 }