forked from ddrilling/AsbCloudServer
18 lines
466 B
C#
18 lines
466 B
C#
using AsbCloudApp.Data;
|
|
using AsbCloudApp.Services;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace AsbCloudWebApi.Controllers
|
|
{
|
|
[Route("api/admin/user/role")]
|
|
[ApiController]
|
|
[Authorize]
|
|
public class AdminUserRoleController : CrudController<UserRoleDto, ICrudService<UserRoleDto>>
|
|
{
|
|
public AdminUserRoleController(ICrudService<UserRoleDto> service)
|
|
: base(service)
|
|
{ }
|
|
}
|
|
}
|