public ActionResult CheckedStudent(string id)
 {
     if (id != null)
     {
         var repo = new RegistrationRepository();
         var model = repo.GetPendingStudent("1");
         var students = model.Where(it => it.id == id).ToList();
         repo.verify(students);
     }
     return RedirectToAction("Index");
 }
 public ActionResult CheckedStudents(string[] selectedStudent)
 {
     if (selectedStudent != null)
     {
         var repo = new RegistrationRepository();
         var model = repo.GetPendingStudent("1");
         var students = model.Where(it => selectedStudent.Any(item => item == it.id)).ToList();
         repo.verify(students);
     }
     return RedirectToAction("Index");
 }