Esempio n. 1
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            GlobalConfiguration.Configure(WebApiConfig.Register);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);

            //Initializing Automapper
            AutoMapperConfig.Initialize();
        }
Esempio n. 2
0
        protected void Application_Start()
        {
            AutoMapperConfig.Initialize();

            GlobalConfiguration.Configure(WebApiConfig.Register);
        }