forked from ddrilling/AsbCloudServer
This commit is contained in:
parent
2e1f49e704
commit
2c1c2c6e90
@ -154,7 +154,7 @@ namespace AsbCloudInfrastructure.Repository
|
|||||||
.Select(r => r.IdUserRole), permissionName);
|
.Select(r => r.IdUserRole), permissionName);
|
||||||
}
|
}
|
||||||
|
|
||||||
private IEnumerable<string>? GetRolesNamesByIdUser(int idUser)
|
private IEnumerable<string> GetRolesNamesByIdUser(int idUser)
|
||||||
=> GetRolesByIdUser(idUser, 7)
|
=> GetRolesByIdUser(idUser, 7)
|
||||||
.Select(r => r.Caption)
|
.Select(r => r.Caption)
|
||||||
.Distinct();
|
.Distinct();
|
||||||
|
Loading…
Reference in New Issue
Block a user