private async Task InitUserConnectionAsync() { try { await DataSyncViewModel.ShowViewAsync(this); InitTranslation(); DisplayUserProfil(); } catch (Exception except) { ILogger.Instance.Error("Unable to Show DataSyncViewModel", except); } }
public static async Task <bool> ShowViewAsync(BaseViewModel parent = null) { var viewModel = new DataSyncViewModel(); return(await ShowModalViewModelAsync(viewModel, parent, false)); }