private async void AddPoint() { TournamentsServices tournamentsServices = new TournamentsServices(); Point point = new Point() { Joueur = EJoueurs.Joueur1 }; await tournamentsServices.AddPointMatch(Match.Id, point); }
private async void AddPoint() { TournamentsServices tournamentsServices = new TournamentsServices(); Point point = new Point() { Joueur = EJoueurs.Joueur1 }; try { await tournamentsServices.AddPointMatch(Match.Id, point); } catch (Exception e) { SetGeneralErrorMessage(e); } }