Exemplo n.º 1
0
        public async Task <ActionResult> NeedAttention(AttentionDto attentionDto)
        {
            await hubContext.Clients.All.SendAsync("needAttention", attentionDto.TableId);

            return(Ok());
        }
Exemplo n.º 2
0
        public async Task <ActionResult> checkedOut(AttentionDto attentionDto)
        {
            await hubContext.Clients.All.SendAsync("checkedOut", attentionDto.TableId);

            return(Ok());
        }
Exemplo n.º 3
0
        public async Task <ActionResult> orderFood(AttentionDto attentionDto)
        {
            await hubContext.Clients.All.SendAsync("orderFood", attentionDto.TableId);

            return(Ok());
        }