Example #1
0
 public List <Student> GetAllStudents()
 {
     return(StudentRegistration.getInstance().getAllStudent());
 }
 public Student DeleteStudent(String registrationNumber)
 {
     return(StudentRegistration.getInstance().Remove(registrationNumber));
 }
Example #3
0
 public IActionResult DeleteStudentRecord(String regdNum)
 {
     Console.WriteLine("In deleteStudentRecord");
     return(Ok(StudentRegistration.getInstance().Remove(regdNum)));
 }
 public JsonResult GetAllStudentRecords()
 {
     return(Json(StudentRegistration.getInstance().getAllStudent()));
 }