public async Task <UserProfile[]> FindProfilesAsync(Guid userId) { ProfileResponse response = await ProfileRequests.FindProfilesAsync(this, userId); return(response.Profiles); }
public async Task <UserProfile> FindProfileAsync(string username, Platform platform) { ProfileResponse response = await ProfileRequests.FindProfileAsync(this, username, platform); return(response.Profiles.FirstOrDefault()); }