/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id, $taskId) { if (!$this->checkProjectTaskPermissions($id)) { return ['error' => 'Access Forbidden']; } return $this->service->find($id, $taskId); }
/** * Display the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function show($id, $projectMemberId) { return $this->service->find($projectMemberId); }