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

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

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

            return(Ok());
        }