This commit is contained in:
ngfrolov 2022-06-15 16:21:28 +05:00
commit 9146be1d3f

View File

@ -17,7 +17,7 @@ namespace AsbCloudWebApi.Controllers
UpdateForbidAsync = async (dto, token) =>
{
var role = await service.GetAsync(dto.Id, token);
return role?.IdType == 1;
return role?.IdType != 1;
};
DeleteForbidAsync = (id, token) =>