BaseballTheater.Areas.Home.HomeAreaRegistration.RegisterArea C# (CSharp) Метод

RegisterArea() публичный Метод

public RegisterArea ( System.Web.Mvc.AreaRegistrationContext context ) : void
context System.Web.Mvc.AreaRegistrationContext
Результат void
        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "Home_default",
                "{id}",
                new { controller = AreaName, action = "Index", id = UrlParameter.Optional },
                new[] { "BaseballTheater.Areas.Home" }
            );
        }
HomeAreaRegistration