using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using System.Web.Mvc;
|
|
namespace HH.AMS.WebApi.Areas.UpKeep
|
{
|
public class UpKeepAreaRegistration : AreaRegistration
|
{
|
public override string AreaName
|
{
|
get
|
{
|
return "UpKeep";
|
}
|
}
|
|
public override void RegisterArea(AreaRegistrationContext context)
|
{
|
context.MapRoute(
|
this.AreaName + "default",
|
this.AreaName + "/{controller}/{action}/{id}",
|
new { area = this.AreaName, controller = "Home", action = "Index", id = UrlParameter.Optional }
|
//new string[] { "HH.AMS.WebApi.Areas." + this.AreaName + ".Controllers" }
|
);
|
}
|
}
|
}
|