Esempio n. 1
0
        private async void EntrySignupButton_Clicked(object sender, EventArgs e)
        {
            PlasmaTracker.Services.ApiServices apiServices = new Services.ApiServices();
            bool response = await apiServices.RegisterUserAsync(EntryEmail.Text, EntryPassword.Text, EntryConnformPassword.Text);

            if (!response)
            {
                await DisplayAlert("Alert", "There is some problem while creating your account", "Cancel");
            }
            else
            {
                await DisplayAlert("Hello", "Successfully Created", "Ok");

                await Navigation.PopToRootAsync();
            }
        }