Files
mixtape/zero.Web/Controllers/SettingsController.cs
T

21 lines
495 B
C#
Raw Normal View History

using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
2020-04-08 00:22:04 +02:00
using zero.Core;
using zero.Core.Api;
using zero.Core.Entities;
using zero.Core.Identity;
2020-04-08 00:22:04 +02:00
namespace zero.Web.Controllers
{
[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;
}
}
}