Esempio n. 1
0
        public IActionResult GetStudents()
        {
            var students = _dbService.GetAllStudents();

            return(Ok(students));
        }
Esempio n. 2
0
 public IActionResult GetAllStudents()
 {
     return(Ok(_studentsDbService.GetAllStudents()));
 }
Esempio n. 3
0
 public IActionResult GetAllStudents(string studentIndex)
 {
     return(Ok(_studentsDbService.GetAllStudents()));
 }