You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while (query.HasMoreResults)
{
foreach (Accreditation accreditation in await query.ExecuteNextAsync<Accreditation>())
{
var listOfServiceContexts = new List<string>();
if (!string.IsNullOrEmpty(accreditation.ServiceContext))
listOfServiceContexts.Add(accreditation.ServiceContext);
listOfServiceContexts.AddRange(accreditation.EvidenceCodes.FirstOrDefault().GetBelongsToServiceContexts());
if (listOfServiceContexts.Contains(_requestContextService.ServiceContext.Name))
accreditations.Add(accreditation);
}
}
Tasks
No response
The text was updated successfully, but these errors were encountered:
Description
In order to prevent cross-context lookups
Additional Information
Tasks
No response
The text was updated successfully, but these errors were encountered: