public PortalService() { _currentPortalService = this; }
private async Task Initialize() { try { _portalService = PortalService.CurrentPortalService as PortalService; InitializeCommandAndMessages(); if (_portalService.Portal != null) { var _ = await PopulateDataAsync(); } } catch (Exception ex) { var _ = App.ShowExceptionDialog(ex); } }