public function getNoEstadoPostulante($id) { $postulacion = Postulacion::where('postulante_id', $id)->first(); $cargo = Cargo::find($postulacion->cargo_id); $postulante = Postulante::find($id); $postulante->estado = 0; $postulante->save(); return redirect('personal/seleccion/listaPostulantes/' . $cargo->id); }