app/Http/Controllers/TrademarkController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $data = ThuongHieu::latest()->paginate(2);
        return view('admin.trademark.index',['biendata' => $data]);
    }
public function index ( ) { $ data = ThuongHieu :: latest ( ) -> paginate ( 2 ) ; return view ( 'admin.trademark.index' , [ 'biendata' => $ data ] ) ; }
Display a listing of the resource.
Display a listing of the resource .