Ejemplo n.º 1
0
        private void DeleteEntity()
        {
            Console.WriteLine(string.Format("\nCalling DeleteEntity({0}, {1})...", _createdWorkspaceId, _createdEntity));
            var result = _conversation.DeleteEntity(_createdWorkspaceId, _createdEntity);

            if (result != null)
            {
                Console.WriteLine(string.Format("Deleted entity {0}.", _createdEntity));
            }
            else
            {
                Console.WriteLine("Result is null.");
            }
        }
Ejemplo n.º 2
0
        public void DeleteEntity_Success()
        {
            Console.WriteLine(string.Format("\nCalling DeleteEntity({0}, {1})...", _createdWorkspaceId, _createdEntity));
            var result = conversation.DeleteEntity(_createdWorkspaceId, _createdEntity);

            Assert.IsNotNull(result);

            if (result != null)
            {
                Console.WriteLine(string.Format("Deleted entity {0}.", _createdEntity));
            }
            else
            {
                Console.WriteLine("Result is null.");
            }
        }