Пример #1
0
        public void Run()
        {
            var mainApplication = new MainApplication();

            mainApplication.InitializeDatabase();

            var appRouteConfig = new AppRouteConfig();

            mainApplication.Configure(appRouteConfig);

            var webServer = new WebServer(Port, appRouteConfig);

            webServer.Run();
        }