Browse Source

Update EfCoreIdentityUserRepository.cs

pull/9523/head
Engincan VESKE 5 years ago
parent
commit
6b82bd982a
  1. 5
      modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/EfCoreIdentityUserRepository.cs

5
modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/EfCoreIdentityUserRepository.cs

@ -140,11 +140,6 @@ namespace Volo.Abp.Identity.EntityFrameworkCore
Guid? organizationUnitId = null,
CancellationToken cancellationToken = default)
{
if(roleId.HasValue || organizationUnitId.HasValue)
{
includeDetails = true;
}
return await (await GetDbSetAsync())
.IncludeDetails(includeDetails)
.WhereIf(

Loading…
Cancel
Save