forked from ddrilling/AsbCloudServer
17 lines
479 B
C#
17 lines
479 B
C#
using AsbCloudApp.Data;
|
|
using AsbCloudApp.Services;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace AsbCloudWebApi.Controllers
|
|
{
|
|
[Route("api/admin/permission")]
|
|
[ApiController]
|
|
[Authorize]
|
|
public class AdminPermissionController : CrudController<PermissionDto, ICrudService<PermissionDto>>
|
|
{
|
|
public AdminPermissionController(ICrudService<PermissionDto> service)
|
|
:base(service)
|
|
{}
|
|
}
|
|
} |