/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id, $taskId) { if ($this->checkProjectPermissions($id) == false) { return ['error' => 'Access Forbidden']; } return $this->service->show($id, $taskId); }
/** * Display the specified resource. * * @param int $projectId * @param int $taskId * @return Response */ public function show($projectId, $taskId) { return $this->service->show($projectId, $taskId); }
/** * Display the specified resource * * @param int $id * @param int $idTask * @return Response */ public function show($id, $idTask) { return $this->service->show($id, $idTask); }