using System.Web.Mvc; namespace HH.WMS.WebApi.Areas.Sys { public class SysAreaRegistration : AreaRegistration { public override string AreaName { get { return "Sys"; } } public override void RegisterArea(AreaRegistrationContext context) { context.MapRoute( "Sys_default", "Sys/{controller}/{action}/{id}", new { action = "Index", id = UrlParameter.Optional } ); } } }