예제 #1
0
        public async Task <UserProfile[]> FindProfilesAsync(Guid userId)
        {
            ProfileResponse response = await ProfileRequests.FindProfilesAsync(this, userId);

            return(response.Profiles);
        }
예제 #2
0
        public async Task <UserProfile> FindProfileAsync(string username, Platform platform)
        {
            ProfileResponse response = await ProfileRequests.FindProfileAsync(this, username, platform);

            return(response.Profiles.FirstOrDefault());
        }