Пример #1
0
        private void SaveCommandExecute()
        {
            Settings currentSettings = SettingsDatabase.GetSettings();

            if (currentSettings != null)
            {
                Settings.Id = currentSettings.Id;
                SettingsDatabase.Update(Settings);
            }
            else
            {
                SettingsDatabase.Save(Settings);
            }
            NavigationService.GoBackAsync();
        }