Example #1
0
 public OfficerPanelViewPresenter
 (
     [ServiceDependency] ICustomerQueueService queueService,
     [ServiceDependency] ICurrentQueueEntryService currentQueueEntryService
 )
 {
     _queueService             = queueService;
     _currentQueueEntryService = currentQueueEntryService;
 }
Example #2
0
 public CustomerQueueManagementViewPresenter
 (
     [ServiceDependency] ICustomerQueueService queueService,
     [ServiceDependency] ICurrentQueueEntryService queueEntryService
 )
 {
     _queueService      = queueService;
     _queueEntryService = queueEntryService;
 }
        private void ServiceCustomer(QueueEntry entry)
        {
            ICurrentQueueEntryService currentEntryService = WorkItem.Services.Get <ICurrentQueueEntryService>();

            currentEntryService.CurrentEntry = entry;
            AssignCustomerToServicing(entry);
            GetOrCreateEntryWorkItem(entry).Activate();
            ActionCatalog.Execute(ActionNames.ActivateOfficerQueueView, WorkItem, this, null);
        }
        public void ServiceCustomerCommandHandler(object sender, EventArgs e)
        {
            ICurrentQueueEntryService currentEntryService = WorkItem.Services.Get <ICurrentQueueEntryService>();

            ServiceCustomer(currentEntryService.CurrentEntry);
        }