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