예제 #1
0
        public async Task DeleteAsync(Guid id)
        {
            var book = await Task.Run(() => _sampleBookDataService.GetBook(id));

            await Task.Run(() => _sampleBookDataService.DeleteBook(book));
        }