forked from ddrilling/AsbCloudServer
merge
This commit is contained in:
commit
9146be1d3f
@ -17,7 +17,7 @@ namespace AsbCloudWebApi.Controllers
|
|||||||
UpdateForbidAsync = async (dto, token) =>
|
UpdateForbidAsync = async (dto, token) =>
|
||||||
{
|
{
|
||||||
var role = await service.GetAsync(dto.Id, token);
|
var role = await service.GetAsync(dto.Id, token);
|
||||||
return role?.IdType == 1;
|
return role?.IdType != 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
DeleteForbidAsync = (id, token) =>
|
DeleteForbidAsync = (id, token) =>
|
||||||
|
Loading…
Reference in New Issue
Block a user