Ejemplo n.º 1
0
 public ActionResult GeneratePdf(AssignVehicleVM assignVehicle)
 {
     ViewBag.Schedule  = aTransportManager.GetSchedule();
     ViewBag.Schedule2 = aTransportManager.GetSchedule2();
     return(new ViewAsPdf("GeneratePdf", "Transport")
     {
         FileName = "Bus Schedule.pdf"
     });
 }