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
700 B
C#

using AutoMapper;
using DSWeb.Areas.Dispatch.DB;
using DSWeb.Areas.Dispatch.Job;
using DSWeb.Areas.Dispatch.Models;
using System.Web.Mvc;
namespace DSWeb.Areas.Dispatch
{
public class DispatchRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "Dispatch";
}
}
public override void RegisterArea(AreaRegistrationContext context)
{
context.MapRoute(
"Dispatch_default",
"Dispatch/{controller}/{action}/{id}",
new { action = "Index", id = UrlParameter.Optional }
);
}
}
}