public virtual async Task <int> DeletePersistedGrantsAsync(string userId) { var deleted = await PersistedGrantRepository.DeletePersistedGrantsAsync(userId); await AuditEventLogger.LogEventAsync(new PersistedGrantsDeletedEvent(userId)); return(deleted); }
public async Task <int> DeletePersistedGrantsAsync(string userId) { return(await _persistedGrantRepository.DeletePersistedGrantsAsync(userId)); }