|
|
|
|
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 }
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|