/**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $schoolyears = Schoolyear::latest()->lists('titulo', 'id');
     $partial = Partial::findOrFail($id);
     return view('partial.edit', compact('partial', 'schoolyears'));
 }
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $schoolyears = Schoolyear::latest()->get();
     return view('schoolyear.index', compact('schoolyears'));
 }