public void Run() { IAplication app = new MainApplication(); IAppRouteConfig routeConfig = new AppRouteConfig(); app.Start(routeConfig); var webServer = new WebServerClass(1337, routeConfig); webServer.Run(); }
public void Run() { var mainApplication = new GameStoreApp(); mainApplication.InitializeDatabase(); var appRouteConfig = new AppRouteConfig(); mainApplication.Configure(appRouteConfig); var webServerClass = new WebServerClass(1337, appRouteConfig); webServerClass.Run(); }