public Task AddGroupAsync(string groupName) { if (string.IsNullOrEmpty(groupName)) { throw new ArgumentNullException(groupName); } AGF.AddGroup(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); }