private async Task <IList <byte[]> > HGetAllCoreAsync(byte[] key)
        {
            using var connection = new RedisConnection(_connectionSettings);
            var command = new HGetAll(connection.GetStream(), key);

            return(await command.ExecuteAsync());
        }
        private IList <byte[]> HGetAllCore(byte[] key)
        {
            using var connection = new RedisConnection(_connectionSettings);
            var command = new HGetAll(connection.GetStream(), key);

            return(command.Execute());
        }