1
0
mirror of https://github.com/chyzy/RSystem-MVC synced 2024-12-25 02:15:28 +01:00
RSystem-MVC-Fork/RSystem/Areas/Admin/AdminAreaRegistration.cs
2018-04-17 11:20:49 +02:00

24 lines
583 B
C#

using System.Web.Mvc;
namespace RSystem.Areas.Admin
{
public class AdminAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "Admin";
}
}
public override void RegisterArea(AreaRegistrationContext context)
{
context.MapRoute(
"Admin_default",
"Admin/{controller}/{action}/{id}",
new { action = "Index",controller="Panel", id = UrlParameter.Optional }
);
}
}
}