// GET: Class public ActionResult Index() { var adminRole = new AdminRole(); return(View(adminRole.GetClasses())); }