forked from ddrilling/AsbCloudServer
23 lines
754 B
C#
23 lines
754 B
C#
using AsbCloudApp.Data;
|
|
using AsbCloudApp.Services;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace AsbCloudWebApi.Controllers
|
|
{
|
|
[Route("api/admin/user/permission")]
|
|
[ApiController]
|
|
[Authorize]
|
|
public class AdminPermissionController : ControllerBase
|
|
{
|
|
private readonly IPermissionService permissionService;
|
|
private readonly ICrudService<PermissionInfoDto> permissionInfoService;
|
|
|
|
public AdminPermissionController(IPermissionService permissionService,
|
|
ICrudService<PermissionInfoDto> permissionInfoService)
|
|
{
|
|
this.permissionService = permissionService;
|
|
this.permissionInfoService = permissionInfoService;
|
|
}
|
|
}
|
|
} |