You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
790 B
C#
31 lines
790 B
C#
using System.Web.Mvc;
|
|
|
|
namespace DSWeb.Areas.TruckMng
|
|
{
|
|
public class TruckMngAreaRegistration : AreaRegistration
|
|
{
|
|
public override string AreaName
|
|
{
|
|
get
|
|
{
|
|
return "TruckMng";
|
|
}
|
|
}
|
|
|
|
public override void RegisterArea(AreaRegistrationContext context)
|
|
{
|
|
context.MapRoute(
|
|
"TruckMng_default",
|
|
"TruckMng/{controller}/{action}/{id}",
|
|
new { action = "Index", id = UrlParameter.Optional }
|
|
);
|
|
|
|
//context.MapRoute(
|
|
// "TruckMng_Edit_default",
|
|
// "TruckMng/{controller}/{action}/{id}",
|
|
// new { action = "Edit", id = UrlParameter.Optional }
|
|
//);
|
|
}
|
|
}
|
|
}
|