2017-01-06 10:02:36 -05:00
|
|
|
using System.Web.Http;
|
|
|
|
using System.Web.Mvc;
|
|
|
|
|
2017-04-02 04:11:35 -04:00
|
|
|
namespace securecall.Areas.HelpPage
|
2017-01-06 10:02:36 -05:00
|
|
|
{
|
|
|
|
public class HelpPageAreaRegistration : AreaRegistration
|
|
|
|
{
|
|
|
|
public override string AreaName
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
return "HelpPage";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public override void RegisterArea(AreaRegistrationContext context)
|
|
|
|
{
|
|
|
|
context.MapRoute(
|
|
|
|
"HelpPage_Default",
|
|
|
|
"Help/{action}/{apiId}",
|
|
|
|
new { controller = "Help", action = "Index", apiId = UrlParameter.Optional });
|
|
|
|
|
|
|
|
HelpPageConfig.Register(GlobalConfiguration.Configuration);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|