private async void checkUserAccount() { try { _tbl_UserMaster_Queries = new tbl_UserMaster_Queries(); var result = await _tbl_UserMaster_Queries.GetAllItems(); if (result.Count > 0) { await _navigationService.NavigateAsync("/" + nameof(NavigationPage) + "/" + nameof(TabPage)); } } catch (Exception ex) { } }
public ProfileViewModel(INavigationService navigationService, IPageDialogService dialogService) : base(navigationService, dialogService) { _navigationService = navigationService; _tbl_UserMaster_Queries = new tbl_UserMaster_Queries(); }