Skip to content

Instantly share code, notes, and snippets.

@wullemsb
Created November 30, 2018 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wullemsb/876678573e15d5102c46227aaef660a8 to your computer and use it in GitHub Desktop.
Save wullemsb/876678573e15d5102c46227aaef660a8 to your computer and use it in GitHub Desktop.
chatResult.Users
.Where(x => !string.IsNullOrWhiteSpace(x.ConnectionId))
.ToList()
.ForEach(async user => { await _chatHub.Groups.AddAsync(user.ConnectionId, chatId); });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment