示例#1
0
        public async Task DeleteAsyncTest()
        {
            var jobID = await jobDAL.AddAsync(AppID, "", "", "", () => Console.WriteLine("Hello World Test!"));

            Assert.True(!string.IsNullOrWhiteSpace(jobID));

            await jobDAL.DeleteAsync(new List <string> {
                jobID
            });

            var job = await jobDAL.GetJobAsync(jobID);

            Assert.Null(job);
        }