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

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

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

            return(Ok());
        }