async void OnLogoutButtonClickedAsync(object sender, EventArgs args) { await vm.LogoutAsync(); await Shell.Current.GoToAsync(".."); }
protected override async void OnAppearing() { await vm.LogoutAsync(); }