示例#1
0
        public async Task <ServiceActionResult> GetUserDetails(string[] userIds)
        {
            var result = await _steamService.GetPlayersAsync(userIds);

            return(ServiceActionResultFactory.Create(result));
        }
示例#2
0
        public async Task <ServiceActionResult> GetSteamIdFromProfileUrl(string url)
        {
            var result = await _gameFinderService.GetSteamIdFromProfileUrlAsync(url);

            return(ServiceActionResultFactory.Create(result));
        }
示例#3
0
        public async Task <ServiceActionResult> GetGameDetails(long appId)
        {
            var result = await _gameFinderService.GetGameDetailsAsync(appId);

            return(ServiceActionResultFactory.Create(result));
        }
示例#4
0
        public async Task <ServiceActionResult> GetGamesForUser(string steamId64)
        {
            var result = await _gameFinderService.GetGamesForSteamIdAsync(steamId64);

            return(ServiceActionResultFactory.Create(result));
        }