private async Task ExitFromProfileAsync() { _authorization.AddUodateUserId(0); _authorization.ToWriteLoginId(); await _navigationService.NavigateAsync(new Uri("http://WWW.ProfileBook/NavigationPage/SignInPageView", UriKind.Absolute)); }
async Task OpenMainListViewPageAsync() { _userAuthentication.GetUsersFromDB(_login, _password); if (_userAuthentication.IsPasswordConfirm()) { _authorization.AddUodateUserId(_userAuthentication.GetUserId()); _authorization.ToWriteLoginId(); await _navigationService.NavigateAsync(new Uri("http://WWW.ProfileBook/NavigationPage/MainListPageView", UriKind.Absolute)); } else { await _dialogService.DisplayAlertAsync(AppResources.Error_Alert, AppResources.InvalidLoginOrPasswAlert, AppResources.OkAlert); Login = string.Empty; Password = string.Empty; } }