public async Task ConnectUserToGame(int gameProcessId) { var result = await gameProcessService.TryAddUserToGame(gameProcessId, Context.ConnectionId); await Clients.Caller.SendEvent("ConnectUserToGame", result); }
public async Task ConnectUserToGame(int gameProcessId) { var result = await gameProcessService.TryAddUserToGame(gameProcessId, Context.ConnectionId); await Clients.Caller.SendEvent("ConnectUserToGame", result); }