ok

Mini Shell

Direktori : /home2/selectio/www/myclassicfit.com/app/Http/Controllers/api/v2/seller/
Upload File :
Current File : /home2/selectio/www/myclassicfit.com/app/Http/Controllers/api/v2/seller/BrandController.php

<?php

namespace App\Http\Controllers\api\v2\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);
    }
}

Zerion Mini Shell 1.0