public function getBrandModelByID($modelID) { $brands = new Brands(); $data = $brands->getBrandModelByID($modelID); return response()->json($data); }