public JsonResult GetStudentsById(int id) { var students = dao.GetStudentById(id); return(Json(students, JsonRequestBehavior.AllowGet)); }
public ActionResult <DataTable> GetStudentById(int Id) { return(Ok(StudentDAO.GetStudentById(Id))); }
public JsonResult GetStudentsById(int id) { var students = dao.GetStudentById(id); return(Json(students, JsonRequestBehavior.AllowGet)); }
public ActionResult <DataTable> GetStudentById(int Id) { return(Ok(StudentDAO.GetStudentById(Id))); }