Ejemplo n.º 1
0
 public void SetCurrentDeck(SuperPokerDeck newDeck)
 {
     if (Game == null)
     {
         Game = new Game();
     }
     Game.SetGameDeck(newDeck);
 }
Ejemplo n.º 2
0
 public void Post([FromBody] SuperPokerDeck newDeck)
 {
     try
     {
         this.SuperPokerService.SetCurrentDeck(newDeck);
     }catch (Exception e)
     {
         errorController.e = new Exception(e.Message + " !!!!!in post!!!!!!");
     }
 }