コード例 #1
0
 public override void RegisterArea(AreaRegistrationContext context)
 {
     context.MapTidyRoute(
         "B2BMembers_default",
         "B2BMembers/{controller}/{action}/{id}",
         new { action = "Index", id = UrlParameter.Optional },
         namespaces: new[] { "Colony.Web.Areas.B2BMembers.Controllers" });
 }
コード例 #2
0
 public override void RegisterArea(AreaRegistrationContext context)
 {
     context.MapTidyRoute("ssomembers",
                          "sso/{controller}/{action}", new { controller = "SSOLogin", action = "Callback" },
                          new[] { "Colony.Web.Areas.Members.Controllers" });
 }