1234567891011121314151617181920212223242526272829 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.Mvc;
- namespace LeaRun.Application.Web.Areas.WarehouseManage
- {
- public class WarehouseManageAreaRegistration : AreaRegistration
- {
- public override string AreaName
- {
- get
- {
- return "WarehouseManage";
- }
- }
- 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" }
- );
- }
- }
- }
|