draft: refactor project so it sits on top of a standalone app
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System.Collections.Generic;
|
||||
using zero.Core;
|
||||
using zero.Core.Api;
|
||||
using zero.Core.Entities;
|
||||
using zero.Core.Api;
|
||||
using zero.Core.Identity;
|
||||
|
||||
namespace zero.Web.Controllers
|
||||
@@ -10,9 +6,9 @@ namespace zero.Web.Controllers
|
||||
[ZeroAuthorize(Permissions.Sections.Settings, PermissionsValue.Read)]
|
||||
public class SettingsController : BackofficeController
|
||||
{
|
||||
private ISettingsApi Api { get; set; }
|
||||
ISettingsApi Api;
|
||||
|
||||
public SettingsController(IZeroConfiguration config, ISettingsApi api) : base(config)
|
||||
public SettingsController(ISettingsApi api)
|
||||
{
|
||||
Api = api;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user