public async Task ExecuteAsync(DatabaseActionAsync databaseAction)
        {
            if (databaseAction == null)
            {
                throw new ArgumentNullException(nameof(databaseAction));
            }

            var db = _redisConnection.GetDatabase();

            await databaseAction(db);
        }
        public async Task <TResult> ExecuteAsync <TResult>(DatabaseActionAsync <TResult> databaseAction)
        {
            if (databaseAction == null)
            {
                throw new ArgumentNullException(nameof(databaseAction));
            }

            var db = _redisConnection.GetDatabase();

            return(await databaseAction(db));
        }