public async Task <ActionResult> NeedAttention(AttentionDto attentionDto) { await hubContext.Clients.All.SendAsync("needAttention", attentionDto.TableId); return(Ok()); }
public async Task <ActionResult> checkedOut(AttentionDto attentionDto) { await hubContext.Clients.All.SendAsync("checkedOut", attentionDto.TableId); return(Ok()); }
public async Task <ActionResult> orderFood(AttentionDto attentionDto) { await hubContext.Clients.All.SendAsync("orderFood", attentionDto.TableId); return(Ok()); }