private async void InsertItemsTable(Items item) { try { await itemsTable.InsertAsync(item); itemsCollection.Add(item); } catch (Exception) { } }
private void SubmitBtn_Clicked(object sender, RoutedEventArgs e) { var item = new Items { Title = title_input.Text , Description = desc_input.Text }; InsertItemsTable(item); ReadItemsTable(); }