Пример #1
0
        //métodos
        private async void LoadCategorias()
        {
            try
            {
                this.IsRefreshing = true;
                // var mongoService = new ApiServicio();
                MyCategorias = (List <Categoria>) await apiEntidades.listaCategoria();

                RefreshList();
                this.IsRefreshing = false;
            }
            catch (Exception e)
            {
                Console.WriteLine("NO SE PUDO TOMAR LOS DATOSSSSSSS : " + e.Message);
            }
        }