public Task Handle(LobbyLeaveEvent notification, CancellationToken cancellationToken) { return(_hubContext.Clients.All.LobbyLeft(new LobbyLeftDTO { Player = notification.Player.Name })); }
public Task Handle(LobbyLeaveEvent notification, CancellationToken cancellationToken) { return(_hubContext.Clients.All.LobbyLeft(_mapper.Map <LobbyLeftDTO>(notification))); }