Ejemplo n.º 1
0
        async private void Buy_Product(object sender, EventArgs e)
        {
            AzureService3 azureService;

            azureService = new AzureService3();
            try
            {
                azureService.BuyProducts(productName);
            }
            catch (Exception er)
            {
                await DisplayAlert("Alert", "ERror: " + er, "Ok");
            }
        }
Ejemplo n.º 2
0
        public void loadCategories()
        {
            AzureService3 azureService;

            azureService = new AzureService3();
            try
            {
                azureService.LoadCategories();
            }
            catch (Exception er)
            {
                DisplayAlert("Alert", "Could not load categories" + er, "Ok");
            }
        }