Beispiel #1
0
 public function getByRep($idRep)
 {
     return Rdv::where('ID_REP', '=', $idRep)->get();
 }
 public function getByRep($idRep)
 {
     $rdv = new Rdv();
     $result = $rdv->getByRep($idRep);
     return Response()->json($result->toArray(), 200);
 }