Esempio n. 1
0
 //判断当前系统是否与数据库连通
 public async Task <ActionResult> ConnectDataBase(string DatabaseConnString)
 {
     return(await Task.Run(() =>
     {
         api.ConnectDataBase(DatabaseConnString);
         return Content("");
     }));
 }