Beispiel #1
0
 public void Configuration(IAppBuilder app)
 {
     PluginManager.LoadPlugins(HostingEnvironment.ApplicationPhysicalPath);
     GlobalConfiguration.Configure(WebApiConfig.Register);
     if (!SystemManager.IsInstalled)
     {
         SystemManager.CheckIsInstalled();
     }
 }
Beispiel #2
0
 public void BtnStep4_Click(object sender, EventArgs e)
 {
     if (CheckLoginValid(out string errorMessage))
     {
         if (InstallDatabase(out errorMessage))
         {
             SetSetp(5);
             if (!SystemManager.IsInstalled)
             {
                 SystemManager.CheckIsInstalled();
             }
         }
         else
         {
             FailMessage(errorMessage);
         }
     }
     else
     {
         FailMessage(errorMessage);
     }
 }