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.
30 lines
681 B
C#
30 lines
681 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.Storage
|
|
{
|
|
public class StorageRegistration: AreaRegistration
|
|
{
|
|
public override string AreaName
|
|
{
|
|
get
|
|
{
|
|
return "Storage";
|
|
}
|
|
}
|
|
|
|
public override void RegisterArea(AreaRegistrationContext context)
|
|
{
|
|
context.MapRoute(
|
|
"Storage_default",
|
|
"Storage/{controller}/{action}/{id}",
|
|
new { action = "Index", id = UrlParameter.Optional }
|
|
);
|
|
|
|
|
|
}
|
|
}
|
|
} |