2345
This commit is contained in:
parent
2ab088b4c0
commit
2a121741c6
@ -1303,7 +1303,14 @@ namespace APT.BS.WebApi.Controllers.Api
|
|||||||
//if (!string.IsNullOrEmpty(strRole))
|
//if (!string.IsNullOrEmpty(strRole))
|
||||||
//{
|
//{
|
||||||
// listStrRole = strRole.Split(charSplit, StringSplitOptions.RemoveEmptyEntries).ToList();
|
// listStrRole = strRole.Split(charSplit, StringSplitOptions.RemoveEmptyEntries).ToList();
|
||||||
|
try
|
||||||
|
{
|
||||||
listRoleItem = listRole.FindAll(e => listStrRole.Contains(e.NAME)).ToList();
|
listRoleItem = listRole.FindAll(e => listStrRole.Contains(e.NAME)).ToList();
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
listRoleItem = null;
|
||||||
|
}
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
//{
|
//{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user