예제 #1
0
        private async Task GetCarac()
        {
            var logic = new CaracLogic();
            var carac = await logic.GetCarac(itemCardapio.ID_MATERIAL);

            var LstCarac = JsonConvert.DeserializeObject <ObservableCollection <CaracModel> >(carac);

            lstViewCarac.ItemsSource = LstCarac;
        }
        private async void GetCarac()
        {
            var logic = new CaracLogic();
            var carac = await logic.GetCarac(ItemCardapio.ID_MATERIAL);

            LstCarac = JsonConvert.DeserializeObject <ObservableCollection <CaracModel> >(carac);

            bboCarac = false;
            if (LstCarac?.Count > 0)
            {
                bboCarac = true;
            }
        }