コード例 #1
0
        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRouteWithNamespaces<AdministrationAreaRegistration>(
                Name + "_default",
                Name + "/{controller}/{action}/{id}",
                new
                {
                    action = "Index",
                    id = UrlParameter.Optional,
                });

            Config.BundleConfig.RegisterBundles(BundleTable.Bundles);
        }