DS7/DSWeb/Areas/RptMng/RptMngAreaRegistration.cs

25 lines
564 B
C#

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 }
);
}
}
}