add zero.Web project (helpers for ASP.NET Core frontend)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Newtonsoft.Json;
|
||||
using zero.Routing;
|
||||
|
||||
namespace zero.Web;
|
||||
|
||||
public class ZeroFallbackController : ZeroController<PageRoute>
|
||||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return Json(new { Application, Route }, new JsonSerializerSettings() { TypeNameHandling = TypeNameHandling.None });
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user