Example #1
0
        public async Task LoadCustomerAsync()
        {
            var lookup = await lookupService.CustomerLookupAsync();

            Customers.Clear();
            foreach (var customer in lookup)
            {
                Customers.Add(new CustomerSelectViewModel(customer.Id, customer.DisplayMember, eventAggregator));
            }
        }