Ejemplo n.º 1
0
        public ActionResult GetPlayerPosition(string ladderId, string platform, string username)
        {
            var result = _ladderService.GetEntryForUser(ladderId, platform, username);

            if (result == null)
            {
                _logger.LogInformation($"Cannot find user <{username},{platform}> in ladder {ladderId}");
                return(NotFound());
            }
            return(Ok(result));
        }