Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions aspnetcore/src/api/Services/UserProfileService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1353,13 +1353,8 @@ public ProfileEditorSource GetProfileEditorSource(ProfileDataFromSql p)
/*
* Get profile data - refactored
*/

public async Task<ProfileEditorDataResponse> GetProfileData2(int userprofileId, LogUserIdentification logUserIdentification, bool forElasticsearch = false)
{
var connection = _ttvContext.Database.GetDbConnection();

List<FactFieldValue> ffvs = await _ttvContext.FactFieldValues.Where(ffv => ffv.DimUserProfileId == userprofileId).ToListAsync();

ProfileEditorDataResponse profileDataResponse = new()
{
personal = new ProfileEditorDataPersonal()
Expand Down Expand Up @@ -1387,7 +1382,6 @@ public async Task<ProfileEditorDataResponse> GetProfileData2(int userprofileId,
cooperation = await _cooperationChoicesService.GetCooperationChoices(userprofileId, forElasticsearch),
uniqueDataSources = await _uniqueDataSourcesService.GetUniqueDataSources(userprofileId, forElasticsearch)
};

return profileDataResponse;
}

Expand Down
Loading