Example #1
0
        public ActionResult PdfWriter(IEnumerable <RecordViewModel> records)
        {
            ToPDF pdfwriter = new ToPDF();

            pdfwriter.RecordsToPDF(records);
            return(PartialView());
        }
Example #2
0
        public RedirectResult PdfRecordWriter(IEnumerable <RecordViewModel> records)
        {
            ToPDF pdfwriter = new ToPDF();

            pdfwriter.RecordsToPDF(records);
            return(RedirectPermanent("/Record/UserList"));
        }