Ejemplo n.º 1
0
        private void CheckBox_CheckedChanged(object sender, CheckedChangedEventArgs e)
        {
            var ms = new MerchantsService();
            var merchantChecked = (CheckBox)sender;

            ms.UpdateMerchantCheck(merchantChecked.IsChecked, Merchant);
        }
Ejemplo n.º 2
0
        private void CheckBox_CheckedChanged(object sender, CheckedChangedEventArgs e)
        {
            var      ms = new MerchantsService();
            var      merchantChecked = (CheckBox)sender;
            Merchant merchant        = merchantChecked.BindingContext as Merchant;

            ms.UpdateMerchantCheck(merchantChecked.IsChecked, merchant);
        }