예제 #1
0
 public function StudentProfile($id)
 {
     $profile = StudentInfo::where('id', $id)->first();
     return view('deskpad/studentprofile', compact('profile'));
 }
 public function getAllStudents()
 {
     $studentlist = StudentInfo::where('status', 'Active')->get();
     return Response::json($studentlist, 200, array(), JSON_PRETTY_PRINT);
 }