commentService->list($cardId, $limit, $offset); } /** * @NoAdminRequired * @throws StatusException */ public function create(int $cardId, string $message, int $parentId = 0): DataResponse { return $this->commentService->create($cardId, $message, $parentId); } /** * @NoAdminRequired * @throws StatusException */ public function update(int $cardId, int $commentId, string $message): DataResponse { return $this->commentService->update($cardId, $commentId, $message); } /** * @NoAdminRequired * @throws StatusException */ public function delete(int $cardId, int $commentId): DataResponse { return $this->commentService->delete($cardId, $commentId); } }