Exemplo n.º 1
0
 public void AddFruit()
 {
     _fruitAppService.Add();
     _hubContext.Clients.All.SendAsync("Render", _playerAppService.GetAll(), _fruitAppService.GetAll());
 }
Exemplo n.º 2
0
 public async Task RenderPlayers()
 {
     await Clients.All.SendAsync("Render", _playerAppService.GetAll(), _fruitAppService.GetAll());
 }