public override void RegisterArea(AreaRegistrationContext context) { context.MapReportingRoute(); context.MapRoute( "Platform_default", "Platform/{controller}/{action}/{id}", new { Controller = "Index", action = "Index", id = UrlParameter.Optional }, new[] { "Web.Areas.Platform.Controllers" } ); }
public override void RegisterArea(AreaRegistrationContext context) { context.MapReportingRoute(); context.MapRoute( "Reporting_default", "Reporting/{controller}/{action}/{id}", new { action = "Index", id = UrlParameter.Optional } ); }