Exemple #1
0
        public virtual HttpResponseMessage GetPlayerStats([FromUri] int gamingGroupId, [FromUri] int playerId)
        {
            var playerStatistics        = playerRetriever.GetPlayerStatistics(playerId);
            var playerStatisticsMessage = transformer.Transform <PlayerStatistics, PlayerStatisticsMessage>(playerStatistics);

            return(Request.CreateResponse(HttpStatusCode.OK, playerStatisticsMessage));
        }