Пример #1
0
 public PartialViewResult ReturTutInput(string query)
 {
     var ret = WebDataBase.db.parse(query);
     Tables table = new Tables();
     table.myTables = ret;
     return PartialView("~/Views/Home/TablePartial.cshtml", table);
 }
Пример #2
0
 public PartialViewResult CreateMovieTut(string query)
 {
     WebDataBase.db.parse(query);
     var ret = WebDataBase.db.parse("Select from Movie");
     Tables table = new Tables();
     table.myTables = ret;
     return PartialView("~/Views/Home/TablePartial.cshtml", table);
 }
Пример #3
0
 public ActionResult ListTables()
 {
     Tables table = new Tables();
     table.myTables = WebDataBase.db.Tables;
     return View(table);
 }