Exemplo n.º 1
0
        public void TestMethod_04()
        {
            var recordClient = new RecordApiEndpoint(BASE_URL);
            var id           = 1;

            Assert.IsTrue(recordClient.Delete(id), "Deleting failed");
        }
Exemplo n.º 2
0
        /// <summary>
        ///     Delete record by id
        /// </summary>
        private static void DeleteById(int id)
        {
            var recordClient = new RecordApiEndpoint(BASE_URL);

            if (recordClient.Delete(id))
            {
                Console.WriteLine("Record#{0} is deleted", id);
            }
        }