public void Add_comment_Should_get_created_id(string nodeId, string departmentId, string userId)
        {
            var comment = new AddCommentDto
                {
                    DepartmentId = departmentId,
                    NodeId = nodeId,
                    UserId = userId,
                    Text = "<b>Bold comment</b>"
                };

            var response = Api.Comments.AddComment(comment).Fetch();
            Assert.That(response.Success, Is.True);
            var id = response.Result;
            Assert.That(id, Is.Not.Null.Or.Empty);
        }
        public void Delete_comment_Should_get_bool(string nodeId, string departmentId, string userId)
        {
            var comment = new AddCommentDto
                {
                    DepartmentId = departmentId,
                    NodeId = nodeId,
                    UserId = userId,
                    Text = "<b>Bold comment</b>"
                };
            var id = Api.Comments.AddComment(comment).Fetch().Result;
            Assert.That(id, Is.Not.Null.Or.Empty);

            var response = Api.Comments.Delete(id).GetHttpResponse();
            Assert.That(response.StatusCode, Is.EqualTo(HttpStatusCode.OK));
 
        }
 public AddCommentRequest AddComment(AddCommentDto comment)
 {
     return new AddCommentRequest(m_clientService, comment);
 }