public Task DeleteGroupAsync(string groupName) { if (string.IsNullOrEmpty(groupName)) { throw new ArgumentNullException(groupName); } AGF.DeleteGroup(groupName); return(Task.CompletedTask); }
public Task AddGroupsAsync(string[] groupNames) { if (groupNames == null) { throw new ArgumentNullException(nameof(groupNames)); } foreach (var s in groupNames) { if (!string.IsNullOrEmpty(s)) { AGF.AddGroup(s); } } return(Task.CompletedTask); }
public Task <List <string> > GetGroupsAsync() { var gs = AGF.GetRecord(); return(Task.FromResult(gs)); }
public void Dispose() { AGF.Dispose(); GPF.Dispose(); APF.Dispose(); }