Esempio n. 1
0
 /**
  * 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]);
 }
Esempio n. 2
0
 public function statEntreprise($filiere = null)
 {
     return $this->cv_gestion->statEntreprise($filiere);
 }
Esempio n. 3
0
 /**
  * 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;
 }
Esempio n. 4
0
 /**
  * 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]);
 }
Esempio n. 5
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     return $this->cv_gestion->destroy($id);
 }