mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-05-03 12:18:02 +08:00
Routine Update
This commit is contained in:
parent
d54062bc0b
commit
eccebba704
@ -91,9 +91,10 @@ namespace OpenAuth.App
|
||||
return listVms;
|
||||
}
|
||||
|
||||
public void Delete(int id)
|
||||
public void Delete(ModuleElement[] objs)
|
||||
{
|
||||
_repository.Delete(u =>u.Id ==id);
|
||||
var delIds = objs.Select(u => u.Id).ToList();
|
||||
_repository.Delete(u =>delIds.Contains(u.Id));
|
||||
}
|
||||
|
||||
public void AssignForRole(int roleId,int moduleId, int[] menuIds)
|
||||
|
Loading…
Reference in New Issue
Block a user