예제 #1
0
        private async void GetAllFunds()
        {
            try
            {
                var response = await fundService.GetAll();

                funds.Clear();
                foreach (var item in PreperFunds(response))
                {
                    funds.Add(item);
                }
            }
            catch
            {
                await DisplayAlert("Cadastro de ativos", "Falha de conexão", "Ok");
            }
        }