public function getBrandModel($brand_id, $limit = NULL, $offset = NULL) { $brands = new Brands(); $data = $brands->getBrandModel($brand_id, $limit, $offset); return response()->json($data); }