Files
mixtape/zero.Core/Routing/Entities/RouteEndpoint.cs
T
2021-11-20 13:52:28 +01:00

24 lines
405 B
C#

namespace zero.Routing;
public class RouteEndpoint
{
public RouteEndpoint(string controller, string action = "Index")
{
Type = RouteEndpointType.Controller;
Controller = controller;
Action = action;
}
public RouteEndpointType Type { get; set; }
public string Controller { get; set; }
public string Action { get; set; }
}
public enum RouteEndpointType
{
Controller = 0
}