Пример #1
0
        private async Task GiveUserLoginAch(LoginUser user)
        {
            if (_achievementService.GetUsersAchievement(user).Count() == 0)
            {
                return;
            }

            // if the user has the following achievement then do the following else ignore
            if (!_achievementService.CheckProgression(user, 1))
            {
                await _achievementService.GiveFirstLoginAchievement(user);
            }
        }