2021-12-01 17:10:17 +05:00
|
|
|
using AsbCloudApp.Data;
|
|
|
|
using AsbCloudApp.Services;
|
|
|
|
using Microsoft.AspNetCore.Authorization;
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
|
|
namespace AsbCloudWebApi.Controllers
|
|
|
|
{
|
2021-12-03 09:44:10 +05:00
|
|
|
[Route("api/admin/permission")]
|
2021-12-01 17:10:17 +05:00
|
|
|
[ApiController]
|
|
|
|
[Authorize]
|
2021-12-20 15:17:09 +05:00
|
|
|
public class AdminPermissionController : CrudController<PermissionDto, ICrudService<PermissionDto>>
|
|
|
|
{
|
2022-01-12 13:33:16 +05:00
|
|
|
public AdminPermissionController(ICrudService<PermissionDto> service)
|
|
|
|
:base(service)
|
2021-12-20 15:17:09 +05:00
|
|
|
{}
|
2021-12-01 17:10:17 +05:00
|
|
|
}
|
|
|
|
}
|