add pruning and full user management

This commit is contained in:
rootdarkarchon
2024-02-09 12:44:31 +01:00
parent 9f2e64d736
commit 5ce7e81818
3 changed files with 246 additions and 42 deletions

View File

@@ -99,6 +99,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();