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