public async ValueTask RemoveAllTemporaryPermissions(Participant participant) { var redisKey = GetKey(participant.ConferenceId); await _redisDatabase.HashDeleteAsync(redisKey, participant.Id); }
public async ValueTask RemoveParticipant(Participant participant) { var key = GetKey(participant.ConferenceId); await _database.HashDeleteAsync(key, participant.Id); }
public async ValueTask <bool> RemoveRoom(string conferenceId, string roomId) { var key = GetRoomListKey(conferenceId); return(await _database.HashDeleteAsync(key, roomId)); }
public async ValueTask RemoveConnection(Participant participant, string connectionId) { var key = GetKey(participant); await _database.HashDeleteAsync(key, connectionId); }
public async ValueTask RemoveScene(string conferenceId, string roomId) { var key = GetSceneKey(conferenceId); await _database.HashDeleteAsync(key, roomId); }
public async ValueTask DeletePollAnswer(Participant participant, string pollId) { var key = GetPollAnswersKey(participant.ConferenceId, pollId); await _database.HashDeleteAsync(key, participant.Id); }