コード例 #1
0
        private async Task ExecuteGetCPFeedCommand()
        {
            if (IsBusy)
            {
                return;
            }

            IsBusy = true;

            //GetCPFeedCommand.ChangeCanExecute();

            try
            {
                var galeria = await cpFeed.GetGacetaPdfAsync();

                Debug.WriteLine(galeria);
                foreach (var gale in galeria.itemsGacetasPdf)
                {
                    GacetaPdf.Add(gale);
                }
                IsBusy = false;
            }
            catch (Exception ex)
            {
                Debug.WriteLine(ex);
            }
        }