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
+3 -5
View File
@@ -1,15 +1,13 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using zero.Core;
using Microsoft.AspNetCore.Mvc;
using zero.Core.Api;
namespace zero.Web.Controllers
{
public class SectionsController : BackofficeController
{
private ISectionsApi Api { get; set; }
ISectionsApi Api;
public SectionsController(IZeroConfiguration config, ISectionsApi api) : base(config)
public SectionsController(ISectionsApi api)
{
Api = api;
}