static public async Task fillPackageByCustomer(ComboBox combo, int customerId) { packages = await package.GetByCustomerCountry(customerId); combo.ItemsSource = packages.Where(x => x.isActive == 1); combo.SelectedValuePath = "packageId"; combo.DisplayMemberPath = "packageName"; combo.SelectedIndex = -1; }