//private async void ExecuteShowCategoriaCommand(Tag tag)
        //{
        //    await PushAsync<CategoriaViewModel>(tag);
        //}

        //private async void ExecuteAboutCommand()
        //{
        //    await PushAsync<AboutViewModel>();
        //}

        public async Task LoadAsync()
        {
            var artigos = await _apiService.GetArtigosByFilterAsync(SearchTerm);

            Artigos.Clear();
            foreach (var tag in artigos)
            {
                Artigos.Add(tag);
            }

            OnPropertyChanged(nameof(Artigos));
        }
        private async void ExecuteNoticiasCommand()
        {
            try
            {
                Artigos?.Clear();
                var artigos = await _service.GetArtigosAsync();

                foreach (var art in artigos)
                {
                    Artigos?.Add(art);
                }
            }

            catch (Exception ex)
            {
                throw ex;
            }
        }