/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $pengguna = Pengguna::all(); return view('pengguna.index', compact('pengguna')); }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $types = Pengguna::all(); return $types; }