/**
  * Delete employee.
  *
  * @param int $companyId
  * @param int $employeeId
  *
  * @return Response
  */
 public function destroy($companyId, $employeeId)
 {
     $company = Company::where('id', '=', $companyId)->firstOrFail();
     $employee = CompanyClient::where('id', '=', $employeeId)->firstOrFail();
     $employee->delete();
     return redirect()->route('company.show', ['company' => $company->id]);
 }
 /**
  * Display company details.
  *
  * @param int $id
  *
  * @return Response
  */
 public function show($id)
 {
     $company = Company::where('id', '=', $id)->with(['clients', 'clients.department', 'profiles'])->firstOrFail();
     return view('company.show', ['company' => $company]);
 }