using System.Web.Mvc; namespace DSWeb.Areas.SysMng { public class SysMngAreaRegistration : AreaRegistration { public override string AreaName { get { return "SysMng"; } } public override void RegisterArea(AreaRegistrationContext context) { context.MapRoute( "SysMng_default", "SysMng/{controller}/{action}/{id}", new { action = "Index", id = UrlParameter.Optional } ); } } }