public async Task AddBookingToQueue(string queueCode, string note = "") { var booking = await _sessionBag.Booking(); if (booking == null || string.IsNullOrEmpty(booking.RecordLocator)) { return; } var signature = await _sessionBag.Signature(); var queueItem = new BookingQueue { RecordLocator = booking.RecordLocator, QueueCode = queueCode, PriorityDate = DateTime.UtcNow, Notes = note }; await _client.CommitBookingQueueAsync(new CommitBookingQueueRequest { ContractVersion = _navApiContractVer, EnableExceptionStackTrace = false, MessageContractVersion = _navMsgContractVer, Signature = signature, BookingQueue = queueItem }); }