19 lines
509 B
C#
19 lines
509 B
C#
namespace LaaProductionWeb.Controllers
|
|
{
|
|
using LaaProductionWeb.App_Infrastructure;
|
|
using LaaProductionWeb.Services.Interfaces;
|
|
|
|
using System.Web.Mvc;
|
|
|
|
[AllowedRoles(UserRoles.WEB_Admin)]
|
|
public class AdminController : Controller
|
|
{
|
|
private readonly IAccountService accountService;
|
|
|
|
public AdminController(IAccountService accountService)
|
|
=> this.accountService = accountService;
|
|
|
|
public ActionResult Index()
|
|
=> this.View();
|
|
}
|
|
} |