/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { $jurusan = Jurusan::all(); $soal = Soal::find($id); $mapel = Mapel::all(); return View('admin.soal.edit')->with('jurusan', $jurusan)->with('mapel', $mapel)->with('soal', $soal); }
/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { $guru = Guru::find($id); $mapel = Mapel::all(); $jurusan = Jurusan::all(); return View('admin.guru.edit')->with('guru', $guru)->with('mapel', $mapel)->with('jurusan', $jurusan); }
/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { $kelas = Kelas::find($id); $jurusan = Jurusan::all(); return View('admin.kelas.edit')->with('kelas', $kelas)->with('jurusan', $jurusan); }
public function create_soal() { $guru = $this->getGuru(); $jurusan = Jurusan::all(); return View('guru.create_soal')->with('guru', $guru)->with('jurusan', $jurusan); }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $jurusan = Jurusan::all(); return View('admin.jurusan.index')->with('jurusan', $jurusan); }
public function show_all_jurusan() { $Jurusans = Jurusan::all(); return $Jurusans; //return 'berhasil kuda'; }