2021-12-02 12:03:30 +05:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Threading;
|
|
|
|
using System.Threading.Tasks;
|
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>>
|
|
|
|
{
|
|
|
|
public AdminPermissionController(ICrudService<PermissionDto> permissionService)
|
|
|
|
:base(permissionService)
|
|
|
|
{}
|
2021-12-01 17:10:17 +05:00
|
|
|
}
|
|
|
|
}
|