public function canton($value) { $id = (int) $value; $cantons = Canton::getCanton($id); return response()->json($cantons); }