public async Task DataTransformation() { IsBusy = true; _dstorageService.ClearDB(); var newsItem = await _restService.GetData(); _dstorageService.WriteListToDB(newsItem); try { Items = new ObservableCollection <Item>(_dstorageService.GetList()); if (Items != null) { IsBusy = false; } } catch { IsBusy = true; } }