public async Task SaveOrUpdateNews(NewsModel newsToSave) { try { await storage.SaveOrUpdate(newsToSave.ToRealmObject()); } catch (Exception ex) { _mvxLog.ErrorException("Save news failed", ex); } }
public async Task SaveOrUpdateNews(NewsModel newsToSave) { try { await storage.SaveOrUpdate(newsToSave.ToRealmObject()); } catch (Exception ex) { _mvxLog.ErrorException("Save news failed", ex); } }