You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
540 B
19 lines
540 B
using Application.Domain.Entities;
|
|
using Application.Models;
|
|
using Infrastructure.Application;
|
|
using Infrastructure.Data;
|
|
using Infrastructure.Web.Mvc;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace UserCenter.Areas.Admin.Controllers
|
|
{
|
|
[Authorize]
|
|
[Area(nameof(Admin))]
|
|
public class SiteController : CrudController<Site, PagedListModel<EditSiteModel>, EditSiteModel, EditSiteModel>
|
|
{
|
|
public SiteController(IRepository<Site> siteRepo) : base(siteRepo)
|
|
{
|
|
}
|
|
}
|
|
} |