Example #1
0
        public IActionResult Rerun(string bundleId, string dumpId)
        {
            var bundleInfo = superDumpRepo.GetBundle(bundleId);

            if (bundleInfo == null)
            {
                logger.LogNotFound("Rerun: Bundle not found", HttpContext, "BundleId", bundleId);
                return(View(null));
            }
            logger.LogDumpAccess("Rerun", HttpContext, bundleInfo, dumpId);
            superDumpRepo.RerunAnalysis(bundleId, dumpId);
            return(View(new ReportViewModel(bundleId, dumpId)));
        }
Example #2
0
 public IActionResult Rerun(string bundleId, string dumpId)
 {
     superDumpRepo.RerunAnalysis(bundleId, dumpId);
     return(View(new ReportViewModel(bundleId, dumpId)));
 }