1
0
mirror of https://github.com/chyzy/RSystem-MVC synced 2024-11-26 00:05:27 +01:00
RSystem-MVC-Fork/RSystem/Areas/Recruit/RecruitAreaRegistration.cs
2018-04-17 11:20:49 +02:00

25 lines
662 B
C#

using System.Web.Mvc;
namespace RSystem.Areas.Recruit
{
public class RecruitAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "Recruit";
}
}
public override void RegisterArea(AreaRegistrationContext context)
{
context.MapRoute(
"Recruit_default",
"{lang}/Recruit/{controller}/{action}/{id}",
new { action = "Index", controller="Home", id = UrlParameter.Optional,lang="pl"},
constraints: new { lang = "pl|en" }
);
}
}
}