diff --git a/AresNews/AresNews/ViewModels/NewsViewModel.cs b/AresNews/AresNews/ViewModels/NewsViewModel.cs index 88877c1f..e75f9189 100644 --- a/AresNews/AresNews/ViewModels/NewsViewModel.cs +++ b/AresNews/AresNews/ViewModels/NewsViewModel.cs @@ -195,8 +195,12 @@ public async void FetchArticles() { articles = await App.WService.Get>("feeds"); - App.BackUpConn.DeleteAll
(); - App.BackUpConn.InsertAllWithChildren(articles); + // Manage backuo + await Task.Run(() => + { + App.BackUpConn.DeleteAll
(); + App.BackUpConn.InsertAllWithChildren(articles); + }); } catch (Exception ex)