/**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $interviews = Candidate::where('status_record_id', 3)->get();
     $employees = Employee::all();
     $employall = array();
     $employall += array('0' => 'None');
     foreach ($employees as $key => $value) {
         $employall += array($value->id => $value->lastname . " " . $value->firstname);
     }
     $statusrecord = StatusRecord::lists('name', 'id');
     return view('employee.interview', compact('statusrecord', 'interviews', 'employall'));
 }
 /**
  * Display a form to create new candidate
  *
  * @return Response view
  */
 public function create()
 {
     $status_records = StatusRecord::lists('name', 'id');
     $positions = Position::lists('name', 'id');
     return view('candidates.addcandidate', compact('positions', 'status_records'));
 }