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 15:47:23 +01:00
|
|
|
public class ZeroFrontendController : ZeroController<PageRoute>
|
2020-10-26 13:59:46 +01:00
|
|
|
{
|
2020-10-27 15:47:23 +01:00
|
|
|
public ZeroFrontendController()
|
2020-10-26 13:59:46 +01:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|