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