private async Task SaveBodyMeasurements() { try { BodyMeasurement temp = new BodyMeasurement(); temp.Date = myBodyMeasurements.Date; temp.Weight = myBodyMeasurements.Weight; temp.Height = myBodyMeasurements.Height; await myBl.AddBodyMeasurement(temp); await _myMessageDialog.ShowInfoDialogAsync("Body Measurement Saved!"); OnPropertyChanged(); } catch (Exception ex) { updateMyBodyMeasurements(); await _myMessageDialog.ShowInfoDialogAsync(ex.Message); } }