24 lines
619 B
C#
24 lines
619 B
C#
|
using System.Web.Mvc;
|
|||
|
|
|||
|
namespace Weee.Areas.Certification
|
|||
|
{
|
|||
|
public class CertificationAreaRegistration : AreaRegistration
|
|||
|
{
|
|||
|
public override string AreaName
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return "Certification";
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public override void RegisterArea(AreaRegistrationContext context)
|
|||
|
{
|
|||
|
context.MapRoute(
|
|||
|
"Certification_default",
|
|||
|
"Certification/{controller}/{action}/{id}",
|
|||
|
new {controller="home", action = "Index", id = UrlParameter.Optional }
|
|||
|
);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|