public void AddComment(CommentDTO commentDTO, string userId, string postId) { _graphDB.AddComment(commentDTO.Comment); _graphDB.CreateRelationship(userId, commentDTO.Comment.CommentID, "UserComment"); ///for connect post and comment _graphDB.CreateRelationship(postId, commentDTO.Comment.CommentID, "PostComment"); ///for connect user to comment that he wrote foreach (var item in commentDTO.Tags) { _graphDB.CreateRelationship(commentDTO.Comment.CommentID, item, "TagComment"); } }