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