/**
  * Remove the specified resource from storage.
  *
  * @param  int $id
  * @return \Illuminate\Http\Response
  */
 public function delete($id)
 {
     $eliminar = Ciclos::find($id);
     $eliminar->delete();
     return redirect("ciclos");
 }
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $cuentas = Cuenta::all();
     $ciclos = Ciclos::all();
     return view("presupuesto")->with('cuenta', $cuentas)->with('ciclo', $ciclos);
 }