Example #1
0
        /// <summary>
        /// this is not an actual test.
        /// delete may existing PriceList at the beginning of the test suite
        /// </summary>
        public void deleteIfExists()
        {
            string[]       PriceListPaths        = new string[] { path + alias };
            ArrayList      PriceLists_exists_out = serviceClient.exists(PriceListPaths);
            TExists_Return PriceList_exists_out  = (TExists_Return)PriceLists_exists_out.ToArray()[0];

            if (!PriceList_exists_out.exists)
            {
                return;
            }

            serviceClient.delete(PriceListPaths);
        }