Beispiel #1
0
 public Task <int> Delete()
 {
     return(Task.Run(() =>
     {
         var(items, count, _) = table.Query <T>(query);
         foreach (var item in items)
         {
             table.Delete(item);
         }
         return items.Length;
     }));
 }
 public async Task <T> Delete(T item)
 {
     return(await Task.Run(() => table.Delete <T>(item)));
 }