public void RenameContent(int contentId, string newName)
        {
            if (_repository.GetContent(contentId) == null)
            {
                throw new ContentNotExistError();
            }

            _repository.RenameContent(contentId, newName);
        }