async Task ExecuteLoadItemsCommand() { IsBusy = true; try { Items.Clear(); BodyIndexMassData db = new BodyIndexMassData(); var items = await db.GetBodyAsync(); foreach (var item in items) { Items.Add(item); } } catch (Exception ex) { Debug.WriteLine(ex); } finally { IsBusy = false; } }
public async void Save() { BodyIndexMassData db = new BodyIndexMassData(); await db.SaveBodyAsync(_bodyIndexMassEntity); }