public function getBlogByIdOrUuid($id)
    {
        if (preg_match('/^\d+$/', $id)) {
            $blog = $this->repo->findOneBy([
                'id' => $id,
            ]);
        } else {
            $blog = $this->repo->findOneBy([
                'uuid' => $id,
            ]);
        }

        return $blog;
    }