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