123456789101112131415161718192021222324252627 |
- using System.Web.Mvc;
- namespace LeaRun.Application.Web.Areas.NBManage
- {
- public class NBManageAreaRegistration : AreaRegistration
- {
- public override string AreaName
- {
- get
- {
- return "NBManage";
- }
- }
- public override void RegisterArea(AreaRegistrationContext context)
- {
- context.MapRoute(
- this.AreaName + "_Default",
- this.AreaName + "/{controller}/{action}/{id}",
- new { area = this.AreaName, controller = "Home", action = "Index", id = UrlParameter.Optional },
- new string[] { "LeaRun.Application.Web.Areas." + this.AreaName + ".Controllers" }
- );
- }
- }
- }
|