Esempio n. 1
0
 public IActionResult Update(string email, Student student)
 {
     return(Ok(StudentStatic.updateStudent(email, student)));
 }
Esempio n. 2
0
 public IActionResult Delete(string email)
 {
     return(Ok(StudentStatic.DeleteStudent(email)));
 }
Esempio n. 3
0
 public IActionResult Insert([FromForm] Student student)
 {
     return(Ok(StudentStatic.InsertStudent(student)));
 }
Esempio n. 4
0
 public IActionResult GetA(string email)
 {
     return(Ok(StudentStatic.GetAStudent(email)));
 }
Esempio n. 5
0
 public IActionResult GetAll([FromQuery] string rollNumber, [FromQuery] string nickName)
 {
     return(Ok(StudentStatic.GetAllStudent()));
 }
 public IActionResult GetByEmail(string email)
 {
     return(Ok(StudentStatic.getStudent(email)));
 }
 public IActionResult GetAll()
 {
     return(Ok(StudentStatic.getAllStudent()));
 }