private void DoWork(object state) { _logger.LogInformation("Timed Background Service is working."); var oms = new Oms((s) => _logger.LogInformation(s), _factory); oms.LogCases(); }
private void BtnFetchCases_Click(object sender, EventArgs e) { textBox1.Text = string.Empty; _oms.LogCases(); }