2021-11-25 11:55:52 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
2021-09-10 11:28:57 +05:00
|
|
|
|
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/role")]
|
2021-09-10 11:28:57 +05:00
|
|
|
|
[ApiController]
|
|
|
|
|
[Authorize]
|
2021-12-03 15:03:33 +05:00
|
|
|
|
public class AdminUserRoleController : CrudController<UserRoleDto, ICrudService<UserRoleDto>>
|
2021-09-10 11:28:57 +05:00
|
|
|
|
{
|
2021-12-03 15:03:33 +05:00
|
|
|
|
public AdminUserRoleController(IUserRoleService service)
|
|
|
|
|
:base(service)
|
|
|
|
|
{
|
|
|
|
|
}
|
2021-09-10 11:28:57 +05:00
|
|
|
|
}
|
|
|
|
|
}
|