Esempio n. 1
0
        private void GiveTenFollowAch(LoginUser user)
        {
            int numberOfFollowing = _service.UsersFollowers(user).Count();

            if (_achievementService.CheckProgression(user, 3))
            {
                return;
            }
            else
            {
                if (numberOfFollowing >= 10)
                {
                    _achievementService.GiveTenAchievement(user);
                }
                _achievementService.IncrementAchievementProgress(user, 3);
            }
        }