24 lines
573 B
C#
24 lines
573 B
C#
using System.Web.Mvc;
|
|
|
|
namespace Kreta.Web.Areas.GRModul
|
|
{
|
|
public class GRModulAreaRegistration : AreaRegistration
|
|
{
|
|
public override string AreaName
|
|
{
|
|
get
|
|
{
|
|
return "GRModul";
|
|
}
|
|
}
|
|
|
|
public override void RegisterArea(AreaRegistrationContext context)
|
|
{
|
|
context.MapRoute(
|
|
"GRModul_default",
|
|
"GRModul/{controller}/{action}/{id}",
|
|
new { action = "Index", id = UrlParameter.Optional }
|
|
);
|
|
}
|
|
}
|
|
}
|