private RunAnalytics analyzeRun(RunImport import) { var analytics = _analytics.Analyze(import); _analyticsWriter.Upsert(analytics); return(analytics); }
public IActionResult ReAnalyze() { var imports = _importReader.Get(); foreach (var import in imports) { var analytics = _analyticsModules.Analyze(import); _analyticsWriter.Upsert(analytics); } _runIndexer.Index(); return(RedirectToAction("Index")); }