Пример #1
0
        private void DeleteValue()
        {
            Console.WriteLine(string.Format("\nCalling DeleteValue({0}, {1}, {2})...", _createdWorkspaceId, _createdEntity, _createdValue));
            var result = _conversation.DeleteValue(_createdWorkspaceId, _createdEntity, _createdValue);

            if (result != null)
            {
                Console.WriteLine("Deleted value {0}", _createdValue);
            }
            else
            {
                Console.WriteLine("Result is null.");
            }
        }
Пример #2
0
        public void DeleteValue_Success()
        {
            Console.WriteLine(string.Format("\nCalling DeleteValue({0}, {1}, {2})...", _createdWorkspaceId, _createdEntity, _createdValue));
            var result = conversation.DeleteValue(_createdWorkspaceId, _createdEntity, _createdValue);

            Assert.IsNotNull(result);

            if (result != null)
            {
                Console.WriteLine("Deleted value {0}", _createdValue);
            }
            else
            {
                Console.WriteLine("Result is null.");
            }
        }