DS7/DSWeb/Areas/MvcContainer/MvcContainerRegistration.cs

26 lines
584 B
C#

using System.Web.Mvc;
namespace DSWeb.MvcContainer
{
public class MvcShippingRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "MvcContainer";
}
}
public override void RegisterArea(AreaRegistrationContext context)
{
context.MapRoute(
"MvcContainer_default",
"MvcContainer/{controller}/{action}/{id}",
new { action = "Index", id = UrlParameter.Optional }
);
}
}
}