private async Task AddToIndex(string partyName) { if (!string.IsNullOrEmpty(partyName)) { await _mongoRepository.AddToConnectionIndex(ConnectionId, partyName); } }
private async Task AddToIndex(string partyName) { if (!string.IsNullOrEmpty(partyName)) { var backend = _configuration["Backend:Name"]; await _mongoRepository.AddToConnectionIndex(ConnectionId, partyName, backend); } }