API.Hubs.BaseHub.RemoveAllSnapshots C# (CSharp) Method

RemoveAllSnapshots() public method

public RemoveAllSnapshots ( string profileClientId ) : Task
profileClientId string
return Task
        public async Task RemoveAllSnapshots(string profileClientId)
        {
            await _snapshotService.RemoveAllSnapshots(profileClientId);

            var group = await _groupService.GetGroupForConnection(ConnectionId);
            if (group != null)
            {
                await Clients.OthersInGroup(group.Name).SendAsync("OnRemoveAllSnapshots", ConnectionId, profileClientId);
            }
            LogDebug($"Removed all snapshots for ProfileId: {profileClientId} in " + _timer.ElapsedMilliseconds + " ms.");
        }