Files
laatzen/LaaProductionWeb/LaaProduction.Web/Controllers/AdminController.cs
T

21 lines
553 B
C#

namespace LaaProduction.Web.Controllers
{
using LaaProduction.Personalization;
using LaaProduction.Web.App_Infrastructure;
using LaaProduction.Services.Interfaces;
using System.Web.Mvc;
[AllowedRoles(UsersRoles.WEB_Admin)]
public class AdminController : Controller
{
private readonly IAccountService accountService;
public AdminController()
=> this.accountService = ServiceProvider.GetService<IAccountService>();
public ActionResult Index()
=> this.View();
}
}