Пример #1
0
 public async Task Order(string sessionId)
 {
     if (SessionHandler.IsValidSession(sessionId))
     {
         QueueModel myQueue = SessionHandler.GetQueue(sessionId);
         myQueue.OrderQueue();
         await Clients.Group(sessionId).SendAsync("UpdateOrder", myQueue.GetOrderList());
     }
 }