示例#1
0
        private async Task <User> initializeUserRank(User user)
        {
            var rookieRank = await _rankRepository.getRookieAsync();

            user.currentRankId = rookieRank.id;
            user.purchasedRankIds.Add(rookieRank.id);
            return(user);
        }