ButlerWeb.Areas.Butler.ButlerAreaRegistration.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(
                "Butler_defaultz",
                "Butler/{controller}/{action}/{id}",
                new { controller = "Welcome", action = "Index", id = UrlParameter.Optional },
                new[] { "ButlerWeb.Areas.Butler.Controllers" }
            );
        }
ButlerAreaRegistration