2020-04-16 12:56:17 +02:00
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using System.Collections.Generic;
|
2020-04-08 00:22:04 +02:00
|
|
|
using zero.Core;
|
|
|
|
|
using zero.Core.Api;
|
2020-04-16 12:56:17 +02:00
|
|
|
using zero.Core.Entities;
|
|
|
|
|
using zero.Core.Identity;
|
2020-04-08 00:22:04 +02:00
|
|
|
|
|
|
|
|
namespace zero.Web.Controllers
|
|
|
|
|
{
|
2020-04-16 12:56:17 +02:00
|
|
|
[ZeroAuthorize(Permissions.Sections.Settings, PermissionsValue.Read)]
|
2020-04-08 00:22:04 +02:00
|
|
|
public class SettingsController : BackofficeController
|
|
|
|
|
{
|
|
|
|
|
private ISettingsApi Api { get; set; }
|
|
|
|
|
|
|
|
|
|
public SettingsController(IZeroConfiguration config, ISettingsApi api) : base(config)
|
|
|
|
|
{
|
|
|
|
|
Api = api;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|