public void ClearCache() { try { _redisContext.DeleteAllByPattern($"{CacheKeys.Connections}:*"); } catch (Exception ex) { throw new UserFriendlyException("Erro to clear connection cache", ex); } }
public void ClearCache() { try { _redisContext.DeleteAllByPattern($"{CacheKeys.Connections}:*"); } catch (Exception ex) { throw new UserFriendlyException("Erro to clear connection cache", ex); } }