init
This commit is contained in:
29
KretaWeb/Areas/Intezmeny/IntezmenyAreaRegistration.cs
Normal file
29
KretaWeb/Areas/Intezmeny/IntezmenyAreaRegistration.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace Kreta.Web.Areas.Intezmeny
|
||||
{
|
||||
public class IntezmenyAreaRegistration : AreaRegistration
|
||||
{
|
||||
public override string AreaName
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Intezmeny";
|
||||
}
|
||||
}
|
||||
|
||||
public override void RegisterArea(AreaRegistrationContext context)
|
||||
{
|
||||
context.MapRoute(
|
||||
"Intezmeny_faliujsag",
|
||||
"Intezmeny/Faliujsag/GetMoreEntries/{startindex}/{range}"
|
||||
);
|
||||
|
||||
context.MapRoute(
|
||||
"Intezmeny_default",
|
||||
"Intezmeny/{controller}/{action}/{id}",
|
||||
new { action = "Index", id = UrlParameter.Optional }
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user