Example #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]);
 }
Example #2
0
 public function statEntreprise($filiere = null)
 {
     return $this->cv_gestion->statEntreprise($filiere);
 }
Example #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;
 }
 /**
  * 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]);
 }
Example #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);
 }