Add delete commands to ManageUsersDisplay

This commit is contained in:
2021-01-23 14:35:44 +01:00
parent 25c9ee5771
commit b7436ed451
3 changed files with 43 additions and 3 deletions

View File

@@ -79,6 +79,19 @@ namespace Akari.Provider.WaveshareUART.Users
return false;
}
public bool Remove(IEnumerable<User> users)
{
foreach (var user in users)
{
if (!Remove(user))
{
return false;
}
}
return true;
}
public bool Clear()
{
_users.Clear();