using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace wms.Areas.BaseInfo { public class BaseInfoAreaRegistration : AreaRegistration { public override string AreaName { get { return "BaseInfo"; } } public override void RegisterArea(AreaRegistrationContext context) { context.MapRoute( "BaseInfo_default", "BaseInfo/{controller}/{action}/{id}", new { action = "Index", id = UrlParameter.Optional } ); } } }