Exemplo n.º 1
0
        async Task LoadCoupons()
        {
            IsBusy = true;

            var coupons = await CouponManager.GetAsync();

            Coupons.Clear();
            foreach (var coupon in coupons)
            {
                Coupons.Add(coupon);
            }

            IsBusy = false;
        }