Files
mixtape/zero.Core/Routing/NotFoundRoute.cs
T
2021-07-20 12:56:45 +02:00

22 lines
392 B
C#

using Microsoft.AspNetCore.Http;
namespace zero.Core.Routing
{
public class NotFoundRoute : IResolvedRoute
{
public NotFoundRoute(HttpContext context)
{
Route = new Route()
{
Url = context.Request.Path.ToString()
};
}
public Route Route { get; set; }
public string Controller { get; set; }
public string Action { get; set; }
}
}