public function isMember($project_id, $member_id)
 {
     if (count($this->memberRepository->findWhere(['project_id' => $project_id, 'member_id' => $member_id])) > 0) {
         return true;
     }
     return false;
 }
 /**
  * Display the specified resource.
  *
  * @param  int $id
  * @param $memberId
  * @return Response
  */
 public function show($id, $memberId)
 {
     return $this->repository->findWhere(['project_id' => $id, 'member_id' => $memberId]);
 }