public static async Task <bool> TryGetGroupAsync() { var groups = await GroupSnippets.GetGroupsAsync(); var groupId = groups[0]; var groupName = await GroupSnippets.GetGroupAsync(groupId); return(groupName != null); }
public static async Task <bool> TryGetGroupOwnersAsync() { // Get all groups, then pass the first group id from the list. var groups = await GroupSnippets.GetGroupsAsync(); var groupId = groups[0]; var members = await GroupSnippets.GetGroupOwnersAsync(groupId); return(members != null); }
public static async Task <bool> TryGetGroupsAsync() { var groups = await GroupSnippets.GetGroupsAsync(); return(groups != null); }