Exemplo n.º 1
0
 private async void DelPoint()
 {
     TournamentsServices tournamentsServices = new TournamentsServices();
     Point point = new Point()
     {
         Joueur = EJoueurs.Joueur1
     };
     await tournamentsServices.DelPointMatch(Match.Id, point);
 }
Exemplo n.º 2
0
        private async void DelPoint()
        {
            TournamentsServices tournamentsServices = new TournamentsServices();
            Point point = new Point()
            {
                Joueur = EJoueurs.Joueur1
            };

            try
            {
                await tournamentsServices.DelPointMatch(Match.Id, point);
            }
            catch (Exception e)
            {
                SetGeneralErrorMessage(e);
            }
        }