Files
mixtape/zero.Core/Routing/Entities/RouteEndpoint.cs
T
2021-11-06 16:27:04 +01:00

27 lines
476 B
C#

namespace zero.Core.Routing
{
public class RouteEndpoint
{
public 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
}
}