public async Task <IList <IUserClaim> > GetClaimsByUser(int siteId, string userId, CancellationToken cancellationToken = default(CancellationToken)) { cancellationToken.ThrowIfCancellationRequested(); DbDataReader reader = await dbUserClaims.GetByUser(siteId, userId); return(LoadClaimListFromReader(reader)); }
public async Task <IList <IUserClaim> > GetClaimsByUser(int siteId, string userId) { DbDataReader reader = await dbUserClaims.GetByUser(siteId, userId); return(LoadClaimListFromReader(reader)); }