1
0
mirror of https://github.com/chyzy/RSystem-MVC synced 2024-12-01 17:25:27 +01:00
RSystem-MVC-Fork/RSystem/Areas/Admin/AdminAreaRegistration.cs

24 lines
583 B
C#
Raw Normal View History

2018-04-17 11:20:49 +02:00
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 }
);
}
}
}