Files
BeWoPlaner/BeWoPlanerMobil/App_Start/RouteConfig.cs
Lyndon Jetten c6282ec1a9 BeWoWebApi:
BeWoWebApi für den neuen Mobilklient

BeWoPlanerMobil:
.NET Version auf 4.7.2 gesetzt.
GetState im Mobilklienten
Abwesenheiten im Mobilklienten auskommentiert
2020-01-15 16:14:39 +01:00

24 lines
576 B
C#

using System.Web.Mvc;
using System.Web.Routing;
namespace BeWoPlanerMobil
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "Login",
url: "Login/{tenant}",
defaults: new {controller = "Login", action = "Index", name = "demo"});
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Login", action = "Index", id = UrlParameter.Optional }
);
}
}
}