Ejemplo n.º 1
0
        static public async Task fillPackageUser(ComboBox combo)
        {
            packageUsers = await packageUser.GetAll();

            combo.ItemsSource       = packageUsers.Where(x => x.isActive == 1);
            combo.SelectedValuePath = "packageUserId";
            combo.DisplayMemberPath = "packageSaleCode";
        }
Ejemplo n.º 2
0
        async Task <IEnumerable <PackageUser> > RefreshPackageUserList()
        {
            packageUsers = await packageUser.GetAll();

            return(packageUsers);
        }