DD.WellWorkover.Cloud/AsbCloudWebApi/Controllers/AdminPermissionController.cs
2021-12-01 17:10:17 +05:00

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;
}
}
}