using System.Collections.Generic;
using WebApplication1.Models;
namespace WebApplication1.Controllers
public class PDFCreateorController : Controller
public ActionResult Index()
public ActionResult PrintDeveloper()
return new ActionAsPdf("PrintDev")
{ FileName = "Devs.pdf" };
public ActionResult PrintDev()
List<Developer> devs = new List<Developer>();
devs = new Developer().GetAllDeveloper();
public ActionResult Student()
Student std = new Student();
public ActionResult Student(Student std)