final draft of plugin backoffice modification

This commit is contained in:
2020-05-14 13:32:33 +02:00
parent a2c2621d71
commit c4fb8a9450
33 changed files with 192 additions and 353 deletions
@@ -3,6 +3,7 @@ using System.Threading.Tasks;
using zero.Core.Api;
using zero.Core.Entities;
using zero.Core.Identity;
using zero.Core.Options;
using zero.Web.Models;
namespace zero.Web.Controllers
@@ -55,7 +56,7 @@ namespace zero.Web.Controllers
/// </summary>
public IActionResult GetAllFeatures()
{
return Json(Options.Backoffice.Features);
return Json(Options.Features.GetAllItems());
}