private async Task InsertNewData() { WeatherForecast weatherForecast = new() { Date = DateTime.UtcNow, Id = Guid.NewGuid(), Summary = $"Sample nº {DateTime.UtcNow.Ticks}", TemperatureC = _random.Next(100) }; await _redisContext.InserDataAsync(weatherForecast, weatherForecast.Id.ToString()); _logger.LogInformation($"Key {weatherForecast.Id} inserted"); } }