Exemple #1
0
        private RunAnalytics analyzeRun(RunImport import)
        {
            var analytics = _analytics.Analyze(import);

            _analyticsWriter.Upsert(analytics);
            return(analytics);
        }
Exemple #2
0
        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"));
        }