/**
  * Display a listing of the resource.
  *
  * @param $id
  *
  * @return \Illuminate\Http\Response
  */
 public function index($id)
 {
     if ($this->service->checkProjectPermissions($id) == false) {
         return ['error' => 'Access forbidden'];
     }
     return $this->service->showMembers($id);
 }
 /**
  * @param $id
  * @return Response
  */
 public function showMembers($id)
 {
     return $this->service->showMembers($id);
 }
 public function showMembers($idProject)
 {
     return $this->service->showMembers($idProject);
 }