Пример #1
0
        private void DisableAllRounds()
        {
            if (!Rounds.Any(r => r.RoundEnabled))
            {
                return;
            }

            Rounds.ToList().ForEach(async r =>
            {
                r.RoundEnabled = false;
                await _roundService.EditRound(r.RoundId, r);
            });
        }
Пример #2
0
        private async void SaveRound()
        {
            var result = await _roundService.EditRound(SelectedRound.RoundId, SelectedRound);

            if (result)
            {
                _navigationService.GoBack();
            }
        }