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