DD.WellWorkover.Cloud/AsbCloudWebApi/Controllers/AdminPermissionController.cs
2021-12-20 15:17:09 +05:00

20 lines
587 B
C#

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
{
[Route("api/admin/permission")]
[ApiController]
[Authorize]
public class AdminPermissionController : CrudController<PermissionDto, ICrudService<PermissionDto>>
{
public AdminPermissionController(ICrudService<PermissionDto> permissionService)
:base(permissionService)
{}
}
}