/**
  * Show the form for editing the specified resource.
  *
  * @param  int $id
  * @return \Illuminate\Http\Response
  */
 public function edit($id)
 {
     $work_experience = $this->repository->skipPresenter(TRUE)->find($id);
     $companies = $this->companyRepository->lists('name', 'id');
     return view('admin.work_experience.edit', compact('work_experience', 'companies'));
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     $obj = $this->repository->find($id);
     $this->repository->delete($obj->id);
     return redirect()->route('admin.company.index');
 }