Pass cancellationToken

This commit is contained in:
Hao Kung 2017-06-14 13:11:15 -07:00
parent 98263cca29
commit a1b9857d94
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore
join role in Roles on userRole.RoleId equals role.Id
where userRole.UserId.Equals(userId)
select role.Name;
return await query.ToListAsync();
return await query.ToListAsync(cancellationToken);
}
/// <summary>