Example #1
0
        private async void DeleteBtn_Tapped(object sender, TappedRoutedEventArgs e)
        {
            await Validations.MessageConfirmDeleteoUpdatePerson("Are you sure to delete your account?");

            if (Validations.result.Equals(true))
            {
                DatabaseManagement.DeleteAccount(gloablvalue.Currentusername);
                this.Frame.Navigate(typeof(MainPage));
            }
        }