public async Task AddAsync(WeatherInfo input) { _logger.Info($"Weather for {input.City} adds to storage"); try { await _weatherRepository.AddOrUpdateWeatherInfoAsync(input, CancellationToken.None); } catch (Exception e) { _logger.Error("Error when adding entity to repository", e); throw; } }