private void ActionRun(object sender, System.Timers.ElapsedEventArgs e) { try { if (_City != null) { foreach (var item in _City) { if (!string.IsNullOrEmpty(item)) { string[] content = WeatherHelper.GetWeatherbyCityName(RegexHelper.Func(item)); DataBaseHelper.InsertTable(content); } } } } catch { return; } }