Exemple #1
0
        public async Task DeleteAsync()
        {
            var deleteTasks = new List <Task> ();

            foreach (var item in DataCollection)
            {
                var m = new TimeEntryModel(item);
                deleteTasks.Add(m.DeleteAsync());
            }
            await Task.WhenAll(deleteTasks);
        }
Exemple #2
0
        public async Task DeleteAsync()
        {
            var deleteTasks = new List <Task> ();

            foreach (var item in dataObjects)
            {
                var m = new TimeEntryModel(item);
                deleteTasks.Add(m.DeleteAsync());
            }
            await TTask.WhenAll(deleteTasks);

            Dispose();
        }
Exemple #3
0
 public async Task DeleteAsync ()
 {
     var deleteTasks = new List<Task> ();
     foreach (var item in dataObjects) {
         var m = new TimeEntryModel (item);
         deleteTasks.Add (m.DeleteAsync ());
     }
     await TTask.WhenAll (deleteTasks);
     Dispose ();
 }
 public async Task DeleteAsync ()
 {
     var deleteTasks = new List<Task> ();
     foreach (var item in Group) {
         var m = new TimeEntryModel (item);
         deleteTasks.Add (m.DeleteAsync ());
     }
     await Task.WhenAll (deleteTasks);
 }