public static void SubcribeGamePoint()
        {
            Bus = RabbitHutch.CreateBus("host=localhost");

            var _gamPointRepository = new GamePointRepository();

            Bus.SubscribeAsync <GamePoint>("GamePoint", async point =>
            {
                _gamPointRepository.Add(point);
            });
        }
        public HttpResponseMessage LeaderBoard([FromUri] int gameId)
        {
            try
            {
                var _gamePointRepository = new GamePointRepository();


                return(Request.CreateResponse(HttpStatusCode.OK, _gamePointRepository.GetAllPlayers(gameId)));
            }
            catch (System.Exception ex)
            {
                return(Request.CreateResponse(HttpStatusCode.BadRequest, ex.Message));
            }
        }