add pruning and full user management

This commit is contained in:
rootdarkarchon
2024-02-09 12:44:31 +01:00
committed by Loporrit
parent 140a247233
commit 3e93fc4db3
3 changed files with 247 additions and 45 deletions

View File

@@ -90,6 +90,12 @@ public partial class ApiController
await _mareHub!.SendAsync(nameof(GroupSetUserInfo), groupPair).ConfigureAwait(false);
}
public async Task<int> GroupPrune(GroupDto group, int days, bool execute)
{
CheckConnection();
return await _mareHub!.InvokeAsync<int>(nameof(GroupPrune), group, days, execute).ConfigureAwait(false);
}
public async Task<List<GroupFullInfoDto>> GroupsGetAll()
{
CheckConnection();