/** * Update the specified resource in storage. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function store(Request $request = null) { $cv = $this->cv_gestion->store($request->all()); $loisir = new Loisir(); $loisir->cv_id = $cv->id; $loisir->save(); return redirect()->route('createcv', [$cv->id]); }
public function statEntreprise($filiere = null) { return $this->cv_gestion->statEntreprise($filiere); }
/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { $formation = $this->formation_gestion->destroy($id); return $formation; }
/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { $formation = $this->formation_gestion->destroy($id); return redirect()->route('api.etudiant.cv.show', [$formation->cv_id]); }
/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { return $this->cv_gestion->destroy($id); }