draft: refactor project so it sits on top of a standalone app

This commit is contained in:
2020-05-11 15:34:47 +02:00
parent a9ee5acc1c
commit f97e8455fc
13068 changed files with 1735502 additions and 866 deletions
+4 -7
View File
@@ -1,19 +1,16 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using zero.Core;
using zero.Core.Api;
namespace zero.Web.Controllers
{
public class PageTreeController : BackofficeController
{
private IPageTreeApi Api { get; set; }
IPageTreeApi Api;
IWebHostEnvironment Env;
private IWebHostEnvironment Env { get; set; }
public PageTreeController(IZeroConfiguration config, IPageTreeApi api, IWebHostEnvironment env) : base(config)
public PageTreeController(IPageTreeApi api, IWebHostEnvironment env)
{
Api = api;
Env = env;