ok
Direktori : /home2/selectio/public_html/bharath/a1tex.in/app/Http/Controllers/api/v3/seller/ |
Current File : /home2/selectio/public_html/bharath/a1tex.in/app/Http/Controllers/api/v3/seller/BrandController.php |
<?php namespace App\Http\Controllers\api\v3\seller; use App\Http\Controllers\Controller; use App\Model\Brand; class BrandController extends Controller { public function getBrands() { try { $brands = Brand::all(); } catch (\Exception $e) { } return response()->json($brands,200); } }