Files
mixtape/zero.Web/Controllers/ZeroFrontendController.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
{
public class ZeroFrontendController : ZeroController<PageRoute>
2020-10-26 13:59:46 +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
}
}
}