Beispiel #1
0
        public ActionResult UpdateAll()
        {
            var list = QueryCodeModel.DatabaseList();

            foreach (var db in list)
            {
                QueryCodeModel.UpdateAll(db);
            }
            return(Content("done"));
        }
Beispiel #2
0
        public ActionResult CodeAnalysisAll()
        {
            var list = QueryCodeModel.DatabaseList();
            var sb   = new StringBuilder();

            foreach (var db in list)
            {
                sb.Append(QueryCodeModel.DoAnalysis(db));
            }
            return(Content(sb.ToString(), "text/plain"));
        }
Beispiel #3
0
 public ActionResult CodeAnalysis()
 {
     QueryCodeModel.DoAnalysis();
     return(Redirect("Code"));
 }