Exemplo n.º 1
0
 void Application_Start(object sender, EventArgs e)
 {
     // Code that runs on application startup
     Database.SetInitializer <WeeklyNewsContext>(new DropCreateDatabaseIfModelChanges <WeeklyNewsContext>());
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     BundleConfig.RegisterBundles(BundleTable.Bundles);
     UnityConfig.RegisterComponent();
 }