/**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id)
 {
     $employData = Employability::where('registration_id', '=', $id)->get();
     $data = array();
     foreach ($employData as $key => $value) {
         $data[$value->company_name] = $value->company_name;
     }
     return Response::json(array('status' => 'success', "data" => $data));
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     $data = Employability::find($id);
     if ($data->delete()) {
         return Response::json(array('status' => 'success', 'msg' => 'Record deleted successfully'));
     }
     return Response::json(array('status' => 'success', 'msg' => 'Problem in deleting data'));
 }