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.
iot/projects/Infrastructure/Web/Mvc/BaseAdminController.cs

17 lines
444 B

using Infrastructure.Application;
using Infrastructure.Data;
using Infrastructure.Domain;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Infrastructure.Web.Mvc
{
[Area("Admin")]
[Authorize]
public class BaseAdminController<T> : CrudController<T, PagedListModel<T>, T, T> where T : BaseEntity
{
public BaseAdminController(IRepository<T> repo) : base(repo)
{
}
}
}