private void throwPlayerNotFoundInGameFault(int gameId, string Player) { GameNotFoundFault fault = new GameNotFoundFault() { Message = "Player: " + Player + " not found in game: " + gameId }; throw new FaultException <GameNotFoundFault>(fault); }
private void throwGameNotFoundFault(int gameId) { GameNotFoundFault fault = new GameNotFoundFault() { Message = "gameId " + gameId + " not found" }; throw new FaultException <GameNotFoundFault>(fault); }