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