forked from ddrilling/AsbCloudServer
20 lines
587 B
C#
20 lines
587 B
C#
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
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> permissionService)
|
|
:base(permissionService)
|
|
{}
|
|
}
|
|
} |