DD.WellWorkover.Cloud/AsbCloudWebApi/Controllers/AdminPermissionController.cs

20 lines
587 B
C#
Raw Normal View History

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
{
2021-12-03 09:44:10 +05:00
[Route("api/admin/permission")]
[ApiController]
[Authorize]
2021-12-20 15:17:09 +05:00
public class AdminPermissionController : CrudController<PermissionDto, ICrudService<PermissionDto>>
{
public AdminPermissionController(ICrudService<PermissionDto> permissionService)
:base(permissionService)
{}
}
}