public function findChildrenByParentId($parentId = null)
{
if ($parentId && !$this->categoryRepository->isCategoryId($parentId)) {
throw new CategoryIdNotFoundException($parentId);
}
return $this->categoryRepository->findChildrenCategoriesByParentId($parentId);
}