Exemple #1
0
        /// <summary>
        /// Updates the achievements.
        /// </summary>
        /// <param name="json">The json object.</param>
        /// <returns>true if successful, else false.</returns>
        /// <remarks>jQuery/WCF requires a return value in order for jQuery to execute $.ajax.success.</remarks>
        public bool UpdateAchievements(SteamUserIdParameter json)
        {
            if (json == null)
            {
                throw new ArgumentNullException("json");
            }

            IEnumerable <Achievement> achievements = _communityService.GetAchievements(json.SteamUserId);

            _service.UpdateAchievements(json.SteamUserId, achievements);

            return(true);
        }
 public bool UpdateAchievements(SteamUserIdParameter json)
 {
     return(true);
 }