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