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