Files
mixtape/zero.Core/Routing/Entities/RouteEndpoint.cs
T

24 lines
405 B
C#
Raw Normal View History

2021-11-19 16:11:12 +01:00
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
}