25 lines
575 B
C#
25 lines
575 B
C#
|
using System.Web.Mvc;
|
|||
|
|
|||
|
namespace LOC.Website.Web.Areas.Manage
|
|||
|
{
|
|||
|
public class ManageAreaRegistration : AreaRegistration
|
|||
|
{
|
|||
|
public override string AreaName
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return "Manage";
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public override void RegisterArea(AreaRegistrationContext context)
|
|||
|
{
|
|||
|
context.MapRoute(
|
|||
|
"Manage_default2",
|
|||
|
"Manage/{controller}/{action}/{id}",
|
|||
|
new { action = "Index", id = UrlParameter.Optional }
|
|||
|
);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|