2020-03-22 14:47:59 +01:00
|
|
|
using Microsoft.AspNetCore.Mvc;
|
2020-03-25 23:24:58 +01:00
|
|
|
using zero.Core;
|
2020-04-16 00:56:22 +02:00
|
|
|
using zero.Core.Identity;
|
2020-03-22 14:47:59 +01:00
|
|
|
|
2020-03-24 23:09:29 +01:00
|
|
|
namespace zero.Web.Controllers
|
2020-03-22 14:47:59 +01:00
|
|
|
{
|
2020-04-15 14:09:52 +02:00
|
|
|
[ZeroAuthorize]
|
2020-03-22 14:47:59 +01:00
|
|
|
public abstract class BackofficeController : Controller
|
|
|
|
|
{
|
2020-03-25 23:24:58 +01:00
|
|
|
protected IZeroConfiguration Configuration { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public BackofficeController(IZeroConfiguration config)
|
|
|
|
|
{
|
|
|
|
|
Configuration = config;
|
|
|
|
|
}
|
2020-03-22 14:47:59 +01:00
|
|
|
}
|
|
|
|
|
}
|