Former-commit-id: eab3a7ea4b6faa523776913f8ed37acc0c52a464 Former-commit-id: 3fc3012e698286f6a7a870ee67b99d5e7e91e8631.0
parent
7a919a4358
commit
f7b367ad37
@ -0,0 +1,18 @@
|
||||
using Application.Domain.Entities;
|
||||
using Application.Models;
|
||||
using Infrastructure.Data;
|
||||
using Infrastructure.Web.Mvc;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace IoTCenter.Areas.Admin.Controllers
|
||||
{
|
||||
[Authorize]
|
||||
[Area(nameof(Admin))]
|
||||
public class SiteController : CrudController<Site, EditSiteModel>
|
||||
{
|
||||
public SiteController(IRepository<Site> siteRepo) : base(siteRepo)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in new issue