App.Web.Areas.Account.AccountAreaRegistration.RegisterArea C# (CSharp) Method

RegisterArea() public method

public RegisterArea ( System.Web.Mvc.AreaRegistrationContext context ) : void
context System.Web.Mvc.AreaRegistrationContext
return void
        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "Area_Account_default",
                "account/{controller}/{action}/{id}",
                new { action = "Index", id = UrlParameter.Optional }
            );
        }
AccountAreaRegistration