private void update(string objects, string dates, string users) { try { //Update(string objects, string dates, string users) _syncs = App.WimeaApp.Syncs.Add(); _syncs.Update(objects, dates, users); } catch (Exception ex) { MessageBox.Show(ex.Message.ToString()); } }
private void save(string objects, string dates, string users) { try { _syncs = App.WimeaApp.Syncs.Add(); _syncs.Objects = objects; _syncs.Dates = dates; _syncs.Users = users; _syncs.Save(); } catch (Exception ex) { MessageBox.Show(ex.Message.ToString()); } }