Compare commits
2 Commits
c448ed2301
...
24f69a65ba
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
24f69a65ba | ||
|
|
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