GetGroupAsync() public static method

public static GetGroupAsync ( string groupId ) : Task
groupId string
return Task
Ejemplo n.º 1
0
        public static async Task <bool> TryGetGroupAsync()
        {
            var groups = await GroupSnippets.GetGroupsAsync();

            var groupId   = groups[0];
            var groupName = await GroupSnippets.GetGroupAsync(groupId);

            return(groupName != null);
        }