app/Http/Controllers/ProvidersController.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()
    {
        $providers = Providers::all();
        return view('admin.providers.index', [
            'providers' => $providers
        ]);
    }
public function index ( ) { $ providers = Providers :: all ( ) ; return view ( 'admin.providers.index' , [ 'providers' => $ providers ] ) ; }
Display a listing of the resource.
Display a listing of the resource .