Files
mixtape/zero.Web/Controllers/DefaultRouteController.cs
T

21 lines
454 B
C#
Raw Normal View History

2020-10-26 13:59:46 +01:00
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
2020-10-27 00:24:49 +01:00
using System;
using System.Linq.Expressions;
using zero.Core.Routing;
2020-10-26 13:59:46 +01:00
namespace zero.Web.Controllers
{
2020-10-27 00:24:49 +01:00
public class DefaultRouteController : ZeroController<PageRoute>
2020-10-26 13:59:46 +01:00
{
public DefaultRouteController()
{
}
public IActionResult Index()
{
2020-10-27 00:24:49 +01:00
return Json(new { Application, Route }, new JsonSerializerSettings() { TypeNameHandling = TypeNameHandling.None });
2020-10-26 13:59:46 +01:00
}
}
}