public function getBrands() { $brand = new Brands(); $data = $brand->getBrands(); return response()->json($data); }