Bookstore.WebSite.MvcApplication.OnApplicationStarted C# (CSharp) Method

OnApplicationStarted() protected method

protected OnApplicationStarted ( ) : void
return void
        protected override void OnApplicationStarted()
        {
            RegisterAllControllersIn(typeof(WebAppServices).Assembly);
              RegisterAllControllersIn(typeof(SplitsServices).Assembly);
              AreaRegistration.RegisterAllAreas();

              ServiceLocator.Current.GetInstance<ApplicationStartup>().Start();
              ServiceLocator.Current.GetInstance<WebAppStartup>().Start(RouteTable.Routes);
        }