public IActionResult CreateComment([FromBody] CommentDto comment)
        {
            var authorId = _authorManager.GetAutor(comment.Author);

            if (authorId == null)
            {
                return(NotFound("author neexistuje "));
            }
            else
            {
                comment.AuthorId = authorId.Id;
            }

            _commentManager.PostComment(comment);
            return(Ok(comment));
        }