Esempio n. 1
0
        public async Task HandleAsync(BackToCustomerInfoEvent message, CancellationToken cancellationToken)
        {
            BookingCustomerInfoViewModel bookingCustomerInfoVM = IoC.Get <BookingCustomerInfoViewModel>();

            if (Customer != null)
            {
                bookingCustomerInfoVM.Customer = Customer;
            }

            await ChangeActiveItemAsync(bookingCustomerInfoVM, true);
        }
Esempio n. 2
0
        public async Task HandleAsync(ContinueToCustomerInfoEvent message, CancellationToken cancellationToken)
        {
            SeatsToReserve = message.SeatsToReserve;

            BookingCustomerInfoViewModel bookingCustomerInfoVM = IoC.Get <BookingCustomerInfoViewModel>();

            if (Customer != null)
            {
                bookingCustomerInfoVM.Customer = Customer;
            }

            await ChangeActiveItemAsync(bookingCustomerInfoVM, true);
        }