Exemplo n.º 1
0
        public async Task DeleteTest()
        {
            var id = await Insert();

            using Sqless sqless = new Sqless(Global.AllowUnspecifiedConfig);
            var result = await sqless.Delete(GetDeleteSqlTestRequest(id));

            Assert.IsTrue(result > 0);
        }
Exemplo n.º 2
0
        public virtual async Task <ActionResult> Delete(SqlessDeleteRequest request)
        {
            using Sqless sqless = await GetSqless(request);

            return(Ok(await sqless.Delete(request)));
        }