public async static Task <bool> Delete(info inf) { try { await App.postsTable.DeleteAsync(inf); await App.MobileService.SyncContext.PushAsync(); return(true); } catch (Exception) { return(false); } }
public static async void Update(info selecteditem) { await App.MobileService.GetTable <info>().UpdateAsync(selecteditem); }
public async static void Insert(info inf) { await App.postsTable.InsertAsync(inf); await App.MobileService.SyncContext.PushAsync(); }