/**
  * Display the specified resource.
  *
  * @param  int $id
  * @return \Illuminate\Http\Response
  */
 public function show($id)
 {
     if ($this->service->checkProjectPermission($id) == false) {
         return ['error' => 'Acesso negado ao projeto!'];
     }
     return $this->repository->with('owner')->with('client')->with('members')->find($id);
 }