Esempio n. 1
0
        protected void Application_Start()
        {
            InitializeDB.Init();

            var container = new ServiceContainer();

            container.RegisterApiControllers();
            container.EnableWebApi(GlobalConfiguration.Configuration);

            RegisterServices(container);

            GlobalConfiguration.Configure(WebApiConfig.Register);
        }
 public void Setup()
 {
     InitializeDB.Init();
 }