Ejemplo n.º 1
0
 // GET: Installation/Home
 public ActionResult Index()
 {
     try
     {
         var conStr = SqlController.ChangeConnectionTimeout(HostConfig.Instance.ConnectionString);
         SetupTools.DbTools.TestConnection(conStr);
     }
     catch
     {
         ViewBag.Ready = false;
     }
     return(View());
 }
Ejemplo n.º 2
0
 // GET: Installation/Home
 public ActionResult Index()
 {
     try
     {
         var conStr = _configuration.GetConnectionString("Db");
         conStr = SqlController.ChangeConnectionTimeout(conStr);
         SetupTools.DbTools.TestConnection(conStr);
     }
     catch
     {
         ViewBag.Ready = false;
     }
     return(View());
 }