private void DisableAllRounds() { if (!Rounds.Any(r => r.RoundEnabled)) { return; } Rounds.ToList().ForEach(async r => { r.RoundEnabled = false; await _roundService.EditRound(r.RoundId, r); }); }
private async void SaveRound() { var result = await _roundService.EditRound(SelectedRound.RoundId, SelectedRound); if (result) { _navigationService.GoBack(); } }